共用方式為


OID_TAPI_GET_CALL_ADDRESS_ID

The OID_TAPI_GET_CALL_ADDRESS_ID OID requests the miniport driver to return the address ID for the specified call.

Support for this request is mandatory.

This request uses an NDIS_TAPI_GET_CALL_ADDRESS_ID structure, defined as follows:

typedef struct _NDIS_TAPI_GET_CALL_ADDRESS_ID {         
         IN ULONG ulRequestID;
         IN HDRV_CALL hdCall;
         OUT ULONG ulAddressID;
 } NDIS_TAPI_GET_CALL_ADDRESS_ID, *PNDIS_TAPI_GET_CALL_ADDRESS_ID;

The members of this structure contain the following information:

  • ulRequestID
    Reserved.

  • hdCall
    Specifies the miniport driver's handle to the call for which the ID should be retrieved. This handle was set up either in a preceding OID_TAPI_MAKE_CALL request or when the miniport driver called NdisMIndicateStatus to report an incoming call.

  • ulAddressID
    Specifies the address ID. The miniport driver fills this member with the corresponding address ID for hdCall to complete this request successfully.

The MiniportQueryInformationfunction 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