NDIS_TAPI_SET_DEV_CONFIG

The NDIS_TAPI_SET_DEV_CONFIG structure is used by OID_TAPI_SET_DEV_CONFIG when it requests the miniport driver to restore the configuration of a device associated one-to-one with the line device from a configuration previously obtained using OID_TAPI_SET_DEV_CONFIG.

The contents of this structure are specific to the miniport driver's line and device class.

Support for this request is mandatory.

typedef struct _NDIS_TAPI_SET_DEV_CONFIG { 
  ULONG ulRequestID; 
  ULONG ulDeviceID; 
  ULONG ulDeviceClassSize; 
  ULONG ulDeviceClassOffset; 
  ULONG ulDeviceConfigSize; 
  UCHAR DeviceConfig[1]; 
} NDIS_TAPI_SET_DEV_CONFIG, *PNDIS_TAPI_SET_DEV_CONFIG; 

Members

  • ulRequestID
    [in] Reserved.
  • ulDeviceID
    [in] Specifies the line device to be configured. This value was set up in a preceding OID_TAPI_PROVIDER_INITIALIZE request.
  • ulDeviceClassSize
    [in] Specifies the size in bytes of the device class for the device whose configuration is to be restored. Valid device class strings are the same as those specified for the OID_TAPI_GET_ID request when it is applied to a line device (ulSelect has the value LINECALLSELECT_LINE).
  • ulDeviceClassOffset
    [in] Specifies the offset in bytes to the device class of the device whose configuration is to be restored.
  • ulDeviceConfigSize
    [in] Specifies the number of bytes at DeviceConfig. This value was already returned in the ulStringSize member in the VAR_STRING structure returned for a preceding OID_TAPI_GET_DEV_CONFIG request.
  • DeviceConfig
    [in] Specifies data that was returned in the variable portion of the VAR_STRING structure for a preceding OID_TAPI_GET_DEV_CONFIG request.

Remarks

The MiniportSetInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_INVALDEVICECLASS
  • NDIS_STATUS_TAPI_INVALPARAM
  • NDIS_STATUS_TAPI_NODRIVER
  • NDIS_STATUS_TAPI_RESOURCEUNAVAIL
  • NDIS_STATUS_FAILURE

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ntddndis.h and Ndistapi.h.

See Also

OID_TAPI_GET_DEV_CONFIG | OID_TAPI_SET_DEV_CONFIG | OID_TAPI_PROVIDER_INITIALIZE | MiniportSetInformation | VAR_STRING

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.