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


NDIS_TAPI_GET_ADDRESS_CAPS (Windows Embedded CE 6.0)

1/6/2010

OID_TAPI_GET_ADDRESS_CAPS uses the NDIS_TAPI_GET_ADDRESS_CAPS structure to query the telephony capabilities of a specified address.

Syntax

typedef struct _NDIS_TAPI_GET_ADDRESS_CAPS { 
  ULONG ulRequestID; 
  ULONG ulDeviceID; 
  ULONG ulAddressID; 
  ULONG ulExtVersion; 
  LINE_ADDRESS_CAPS LineAddressCaps; 
} NDIS_TAPI_GET_ADDRESS_CAPS, *PNDIS_TAPI_GET_ADDRESS_CAPS; 

Members

  • ulRequestID
    [in] Reserved.
  • ulDeviceID
    [in] Specifies the link or data channel to be queried. This was set up in a preceding OID_TAPI_GET_ID request.
  • ulAddressID
    [in] Specifies the address on the given link for which capabilities should be returned. The value of this member is not validated by NDISTAPI when this request is made.
  • ulExtVersion
    [in] Specifies the version number of the miniport-specific extensions to be used. This member is zero if no device-specific extensions are used. Otherwise, the high-order bytes contain the major version number and the low-order bytes contain the minor version number. The value of this member is not validated by NDISTAPI when this request is made.
  • LineAddressCaps
    [out] Specifies the base virtual address of a variable-size structure of type LINE_ADDRESS_CAPS.

    This structure has at least sizeof(LINE_ADDRESS_CAPS) bytes reserved.

Remarks

Support for this request is mandatory.

Upon successful completion of the request, the miniport fills this structure with address capabilities information. The MiniportQueryInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_INCOMPATIBLEEXTVERSION
  • NDIS_STATUS_TAPI_INVALADDRESSID
  • NDIS_STATUS_TAPI_NODRIVER
  • NDIS_STATUS_FAILURE

Requirements

Header ndistapi.h, ntddndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Structures
MiniportQueryInformation
OID_TAPI_GET_ADDRESS_CAPS
OID_TAPI_GET_ID