共用方式為


OID_TAPI_PROVIDER_SHUTDOWN

The OID_TAPI_PROVIDER_SHUTDOWN OID requests the miniport driver to shut down its TAPI operations when TAPI is cleaning up its state because applications are no longer using TAPI services.

On receipt of this OID, the miniport driver should terminate any activities associated with TAPI that it has in progress, call NdisMIndicateStatus with NDIS_MAC_LINE_DOWN to NDISWAN for any lines currently open, and clean up any state it was using to track TAPI operations.

Support for this request is mandatory.

This request uses an NDIS_TAPI_PROVIDER_SHUTDOWN structure, defined as follows:

typedef struct _NDIS_TAPI_PROVIDER_SHUTDOWN {         
         IN ULONG ulRequestID;
 } NDIS_TAPI_PROVIDER_SHUTDOWN,   *PNDIS_TAPI_PROVIDER_SHUTDOWN;

The member of this structure contains the following information:

  • ulRequestID
    Reserved.

The MiniportSetInformationfunction can return one of the following:

NDIS_STATUS_SUCCESS

NDIS_STATUS_PENDING

NDIS_STATUS_TAPI_RESOURCEUNAVAIL

NDIS_STATUS_FAILURE

 

 

Send comments about this topic to Microsoft