Condividi tramite


OID_TAPI_GET_LINE_DEV_STATUS

The OID_TAPI_GET_LINE_DEV_STATUS OID requests the miniport driver to return the current status for the specified open line device. The returned information is global to all addresses on the line.

Support for this request is mandatory.

This request uses an NDIS_TAPI_GET_LINE_DEV_STATUS structure, defined as follows:

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

The members of this structure contain the following information:

  • ulRequestID
    Reserved.

  • hdLine
    Specifies the miniport driver's handle to the line to be queried.

  • LineDevStatus
    Specifies a variable-sized structure of type LINE_DEV_STATUS. For more information, see ndistapi.h.

    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.

The MiniportQueryInformationfunction can return one of the following:

NDIS_STATUS_SUCCESS

NDIS_STATUS_PENDING

NDIS_STATUS_TAPI_INVALLINEHANDLE

NDIS_STATUS_TAPI_RESOURCEUNAVAIL

NDIS_STATUS_FAILURE

 

 

Send comments about this topic to Microsoft