共用方式為


OID_TAPI_CLOSE

The OID_TAPI_CLOSE OID requests the miniport driver to close the specified open line device.

Support for this request is mandatory.

This request uses an NDIS_TAPI_CLOSE structure, defined as follows:

typedef struct _NDIS_TAPI_CLOSE {         
         IN ULONG ulRequestID;
         IN HDRV_LINE hdLine;
 } NDIS_TAPI_CLOSE,   *PNDIS_TAPI_CLOSE;

The members of this structure contain the following information:

  • ulRequestID
    Reserved.

  • hdLine
    Specifies the miniport driver's handle to the line to be closed. After the line has been successfully closed, this handle is no longer valid.

The MiniportSetInformationfunction can return one of the following:

NDIS_STATUS_SUCCESS

NDIS_STATUS_PENDING

 

 

Send comments about this topic to Microsoft