Поделиться через


NDIS_TAPI_GET_EXTENSION_ID (Compact 2013)

3/26/2014

OID_TAPI_GET_EXTENSION_ID uses the NDIS_TAPI_GET_EXTENSION_ID structure when it requests the miniport driver to return the extension identifier for the specified line device.

Support for this request is optional.

Syntax

typedef struct _NDIS_TAPI_GET_EXTENSION_ID { 
  ULONG ulRequestID; 
  ULONG ulDeviceID; 
  LINE_EXTENSION_ID LineExtensionID; 
} NDIS_TAPI_GET_EXTENSION_ID, *PNDIS_TAPI_GET_EXTENSION_ID; 

Members

  • ulRequestID
    [in] Reserved.
  • ulDeviceID
    [in] Specifies the link or data channel to be queried. This was set up in a preceding OID_TAPI_GET_ID request.
  • LineExtensionID
    [out] Pointer to a structure of type LINE_EXTENSION_ID.

    If the miniport driver supports device-specific extensions, it fills this structure with the extension identifier of these extensions. Otherwise, it fills this structure with zeros.

    For a bound protocol, a valid extension identifier cannot consist of all zeros.

Remarks

The MiniportQueryInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_RESOURCEUNAVAIL
  • NDIS_STATUS_FAILURE

Requirements

Header

ndistapi.h,
ntddndis.h

See Also

Reference

NDIS 5.x Legacy Structures
OID_TAPI_GET_EXTENSION_ID
OID_TAPI_GET_ID
MiniportQueryInformation