PLUGPLAY_NOTIFICATION_HEADER structure (wdm.h)

A PLUGPLAY_NOTIFICATION_HEADER structure is included at the beginning of each PnP notification structure, such as a DEVICE_INTERFACE_CHANGE_NOTIFICATION structure.

Syntax

typedef struct _PLUGPLAY_NOTIFICATION_HEADER {
  USHORT Version;
  USHORT Size;
  GUID   Event;
} PLUGPLAY_NOTIFICATION_HEADER, *PPLUGPLAY_NOTIFICATION_HEADER;

Members

Version

Specifies the version of the data structure, currently set to 1.

Size

Specifies the size of the structure, in bytes.

Event

Specifies a GUID identifying the event.

Remarks

Drivers can cast a PnP notification structure to this type to access the Event field and identify the exact type of the structure.

Requirements

Requirement Value
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See also

DEVICE_INTERFACE_CHANGE_NOTIFICATION

HWPROFILE_CHANGE_NOTIFICATION

IoRegisterPlugPlayNotification

TARGET_DEVICE_CUSTOM_NOTIFICATION

TARGET_DEVICE_REMOVAL_NOTIFICATION