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


OID_TAPI_GET_CALL_STATUS

The OID_TAPI_GET_CALL_STATUS OID requests the miniport driver to return the current status of the specified call.

Support for this request is mandatory.

This request uses an NDIS_TAPI_GET_CALL_STATUS structure, defined as follows:

typedef struct _NDIS_TAPI_GET_CALL_STATUS {         
         IN ULONG ulRequestID;
         IN HDRV_CALL hdCall;
         OUT LINE_CALL_STATUS LineCallStatus;
 } NDIS_TAPI_GET_CALL_STATUS, *PNDIS_TAPI_GET_CALL_STATUS;

The members of this structure contain the following information:

  • ulRequestID
    Reserved.

  • hdCall
    Specifies the miniport driver's handle to the call for which the current status should be returned.

  • LineCallStatus
    Specifies the virtual address of a variable-size structure of type LINE_CALL_STATUS. For more information, see ndistapi.h.

    The miniport driver fills this structure with call status information to complete this request successfully.

    The structure at LineCallStatus has at least sizeof(LINE_CALL_STATUS) bytes reserved.

The MiniportQueryInformationfunction can return one of the following:

NDIS_STATUS_SUCCESS

NDIS_STATUS_PENDING

NDIS_STATUS_TAPI_INVALCALLHANDLE

NDIS_STATUS_TAPI_RESOURCEUNAVAIL

NDIS_STATUS_FAILURE

 

 

Send comments about this topic to Microsoft