共用方式為


OID_TAPI_DIAL

The OID_TAPI_DIAL OID requests the miniport driver to dial the specified number on the specified call.

Support for this request is optional.

This request uses an NDIS_TAPI_DIAL structure, defined as follows:

typedef struct _NDIS_TAPI_DIAL {         
         IN ULONG ulRequestID;
         IN HDRV_CALL hdCall;
         IN ULONG ulDestAddressSize;
         IN CHAR szDestAddress[1];
 } NDIS_TAPI_DIAL, *PNDIS_TAPI_DIAL;

The members of this structure contain the following information:

  • ulRequestID
    Reserved.

  • hdCall
    Specifies the miniport driver's handle to the call for which it should dial. This handle was set up in a preceding OID_TAPI_MAKE_CALL request.

  • ulDestAddressSize
    Specifies the size in bytes of the address in the next member.

  • szDestAddress
    Specifies the destination to be dialed in standard dialable number format.

The MiniportSetInformationfunction can return one of the following status values:

NDIS_STATUS_SUCCESS

NDIS_STATUS_PENDING

NDIS_STATUS_TAPI_INVALCALLHANDLE

NDIS_STATUS_TAPI_INVALADDRESS

NDIS_STATUS_TAPI_INVALCALLSTATE

NDIS_STATUS_TAPI_ADDRESSBLOCKED

NDIS_STATUS_TAPI_DIALBILLING

NDIS_STATUS_TAPI_DIALQUIET

NDIS_STATUS_TAPI_DIALDIALTONE

NDIS_STATUS_TAPI_DIALPROMPT

NDIS_STATUS_TAPI_OPERATIONUNAVAIL

NDIS_STATUS_TAPI_RESOURCEUNAVAIL

NDIS_STATUS_FAILURE

 

 

Send comments about this topic to Microsoft