NDISUIO_DEVICE_NOTIFICATION

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This structure is used to specify device notifications of media state, bind or unbind, and so on.

Syntax

typedef struct {
  DWORD dwNotificationType;
  TCHAR ptcDeviceName[MAX_PATH];
  UINT  uiOffsetToStatusBuffer;
  UINT uiStatusBufferSize;
} NDISUIO_DEVICE_NOTIFICATION, *PNDISUIO_DEVICE_NOTIFICATION;

Members

  • dwNotificationType
    This value should be a union of flag values. The following table shows values for dwNotificationType.

    Notification flag Value

    NDISUIO_NOTIFICATION_RESET_START

    0x00000001

    NDISUIO_NOTIFICATION_RESET_END

    0x00000002

    NDISUIO_NOTIFICATION_MEDIA_CONNECT

    0x00000004

    NDISUIO_NOTIFICATION_MEDIA_DISCONNECT

    0x00000008

    NDISUIO_NOTIFICATION_BIND

    0x00000010

    NDISUIO_NOTIFICATION_UNBIND

    0x00000020

    NDISUIO_NOTIFICATION_ADAPTER_ARRIVAL

    0x00000040

    NDISUIO_NOTIFICATION_ADAPTER_REMOVAL

    0x00000080

    NDISUIO_NOTIFICATION_DEVICE_POWER_UP

    0x00000200

    NDISUIO_NOTIFICATION_DEVICE_POWER_DOWN

    0x00000400

  • ptcDeviceName[MAX_PATH]
    Pointer to the device name about which notification is desired.
  • uiOffsetToStatusBuffer
    Offset value from the beginning of the structure.
  • uiStatusBufferSize
    Size of the status buffer.

Requirements

Header nuiouser.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IOCTL_NDISUIO_REQUEST_NOTIFICATION