Bewerken

Delen via


HWPROFILE_CHANGE_NOTIFICATION structure (wdm.h)

The HWPROFILE_CHANGE_NOTIFICATION structure describes an event related to a hardware profile configuration change. The PnP manager sends this structure to a driver that registered a callback routine for notification of EventCategoryHardwareProfileChange events.

Syntax

typedef struct _HWPROFILE_CHANGE_NOTIFICATION {
  USHORT Version;
  USHORT Size;
  GUID   Event;
} HWPROFILE_CHANGE_NOTIFICATION, *PHWPROFILE_CHANGE_NOTIFICATION;

Members

Version

Specifies the version of the data structure, currently 1.

Size

Specifies the size of the structure, in bytes including the size of the standard first three members plus the event-specific data.

Event

Specifies a GUID identifying the event: GUID_HWPROFILE_QUERY_CHANGE, GUID_HWPROFILE_CHANGE_COMPLETE, or GUID_HWPROFILE_CHANGE_CANCELLED. The GUIDs are defined in Wdmguid.h.

Remarks

There is no event-specific data for a hardware-profile-change event.

Requirements

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

See also

DEVICE_INTERFACE_CHANGE_NOTIFICATION

IoRegisterPlugPlayNotification

PLUGPLAY_NOTIFICATION_HEADER

TARGET_DEVICE_REMOVAL_NOTIFICATION