次の方法で共有


NDIS_TAPI_GET_ADDRESS_STATUS (Compact 2013)

3/26/2014

The NDIS_TAPI_GET_ADDRESS_STATUS structure is used by OID_TAPI_GET_ADDRESS_STATUS when it requests the miniport driver to return the status that is current for the specified address.

Support for this request is mandatory.

Syntax

typedef struct _NDIS_TAPI_GET_ADDRESS_STATUS { 
  ULONG ulRequestID; 
  HDRV_LINE hdLine; 
  ULONG ulAddressID; 
  OUT LINE_ADDRESS_STATUS LineAddressStatus; 
} NDIS_TAPI_GET_ADDRESS_STATUS, *PNDIS_TAPI_GET_ADDRESS_STATUS; 

Members

  • ulRequestID
    [in] Reserved.
  • hdLine
    [in] Specifies the miniport driver's handle for the line.
  • ulAddressID
    [in] Specifies an address on the given open line device. This is the address for which the status should be returned. The value of this member is not validated by NDISTAPI when this request is made.
  • LineAddressStatus
    [out] Specifies the virtual address of a variable-size structure of type LINE_ADDRESS_STATUS.

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

    The LineAddressStatus member has at least sizeof(LINE_ADDRESS_STATUS) bytes reserved.

Remarks

The MiniportQueryInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_INVALLINEHANDLE
  • NDIS_STATUS_TAPI_INVALADDRESSID
  • NDIS_STATUS_TAPI_RESOURCEUNAVAIL
  • NDIS_STATUS_FAILURE

Requirements

Header

ndistapi.h,
ntddndis.h

See Also

Reference

NDIS 5.x Legacy Structures
OID_TAPI_GET_ADDRESS_STATUS
MiniportQueryInformation