Compartilhar via


NDIS_TAPI_GET_LINE_DEV_STATUS (Compact 2013)

3/26/2014

OID_TAPI_GET_LINE_DEV_STATUS uses NDIS_TAPI_GET_LINE_DEV_STATUS structure when it requests the miniport driver to return the status for the specified open line device. The returned information is global to all addresses on the line.

Support for this request is mandatory.

Syntax

typedef struct _NDIS_TAPI_GET_LINE_DEV_STATUS { 
  ULONG ulRequestID; 
  HDRV_LINE hdLine; 
  LINE_DEV_STATUS LineDevStatus; 
} NDIS_TAPI_GET_LINE_DEV_STATUS, *PNDIS_TAPI_GET_LINE_DEV_STATUS; 

Members

  • ulRequestID
    [in] Reserved.
  • hdLine
    [in] Specifies the miniport driver's handle to the line to be queried.
  • LineDevStatus
    [out] Specifies a variable-sized structure of type LINE_DEV_STATUS.

    The miniport driver fills this structure with the line's current device status to complete this request successfully.

    The structure at LineDevStatus has at least sizeof(LINE_DEV_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_RESOURCEUNAVAIL
  • NDIS_STATUS_FAILURE

Requirements

Header

ndistapi.h,
ntddndis.h

See Also

Reference

NDIS 5.x Legacy Structures
OID_TAPI_GET_LINE_DEV_STATUS
MiniportQueryInformation