// wdm.h
typedef struct _PLUGPLAY_NOTIFICATION_HEADER {
USHORT Version;
USHORT Size;
GUID Event;
} PLUGPLAY_NOTIFICATION_HEADER, *PPLUGPLAY_NOTIFICATION_HEADER;
View the official Windows Driver Kit DDI referenceNo description available.
A PLUGPLAY_NOTIFICATION_HEADER structure is included at the beginning of each PnP notification structure, such as a DEVICE_INTERFACE_CHANGE_NOTIFICATION structure.
VersionSpecifies the version of the data structure, currently set to 1.
SizeSpecifies the size of the structure, in bytes.
EventSpecifies a GUID identifying the event.
Drivers can cast a PnP notification structure to this type to access the Event field and identify the exact type of the structure.
DEVICE_INTERFACE_CHANGE_NOTIFICATION
IoRegisterPlugPlayNotification
TARGET_DEVICE_CUSTOM_NOTIFICATION
TARGET_DEVICE_REMOVAL_NOTIFICATION