Share via


NDIS_TAPI_SET_STATUS_MESSAGES (Windows Embedded CE 6.0)

1/6/2010

The NDIS_TAPI_SET_STATUS_MESSAGES structure is used byOID_TAPI_SET_STATUS_MESSAGESwhen it requests the miniport driver to allow NDISTAPI to specify which notification messages the miniport driver should generate for events related to status changes for the specified line or any of its addresses.

By default, address-status and line-status reporting is initially disabled for a line.

Support for this request is mandatory.

Syntax

typedef struct _NDIS_TAPI_SET_STATUS_MESSAGES { 
  ULONG ulRequestID; 
  HDRV_LINE hdLine; 
  ULONG ulLineStates; 
  ULONG ulAddressStates; 
} NDIS_TAPI_SET_STATUS_MESSAGES, *PNDIS_TAPI_SET_STATUS_MESSAGES; 

Members

  • ulRequestID
    [in] Reserved.
  • hdLine
    [in] Specifies the miniport driver's handle to the line device.
  • ulLineStates
    [in] Specifies a bit array that identifies status changes for which messages should be sent to NDISTAPI. This parameter uses the LINEDEVSTATE constants.
  • ulAddressStates
    [in] Specifies a bit array that identifies which address status changes the miniport driver should monitor to send appropriate notifications to NDISTAPI. The value is an ORed combination of LINEADDRESSSTATE flags.

Remarks

The MiniportSetInformation function can return one of the following:

  • NDIS_STATUS_SUCCESS
  • NDIS_STATUS_PENDING
  • NDIS_STATUS_TAPI_INVALLINEHANDLE
  • NDIS_STATUS_TAPI_INVALLINESTATE
  • NDIS_STATUS_TAPI_RESOURCEUNAVAIL
  • NDIS_STATUS_FAILURE

Requirements

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

See Also

Reference

NDIS Structures
OID_TAPI_SET_STATUS_MESSAGES
MiniportSetInformation