NDISUIO_DEVICE_NOTIFICATION (Windows CE 5.0)

Send Feedback

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Nuiouser.h.

See Also

IOCTL_NDISUIO_REQUEST_NOTIFICATION

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.