共用方式為


OID_TAPI_SELECT_EXT_VERSION

The OID_TAPI_SELECT_EXT_VERSION OID requests the miniport driver to select the indicated extension version for the indicated line device. Subsequent requests on the line operate according to the selected extension version.

Support for this request is optional.

This request uses an NDIS_TAPI_SELECT_EXT_VERSION structure, defined as follows:

typedef struct _NDIS_TAPI_SELECT_EXT_VERSION {         
         IN ULONG ulRequestID;
         IN HDRV_LINE hdLine;
         IN ULONG ulExtVersion;
 } NDIS_TAPI_SELECT_EXT_VERSION, *PNDIS_TAPI_SELECT_EXT_VERSION;

The members of this structure contain the following information:

  • ulRequestID
    Reserved.

  • hdLine
    Specifies the handle to the line for which the extension version is to be selected.

  • ulExtVersion
    Specifies the extension version to be selected. The most significant two bytes specify the major version number, and the least significant two bytes specify the minor version number. Zero indicates the miniport driver should cancel the current selection.

    This version has been negotiated in a preceding OID_TAPI_NEGOTIATE_EXT_VERSION request.

The MiniportSetInformationfunction can return one of the following:

NDIS_STATUS_SUCCESS

NDIS_STATUS_PENDING

NDIS_STATUS_TAPI_INCOMPATIBLEEXTVERSION

NDIS_STATUS_TAPI_OPERATIONUNAVAIL

NDIS_STATUS_TAPI_RESOURCEUNAVAIL

NDIS_STATUS_FAILURE

 

 

Send comments about this topic to Microsoft