Registering for Hardware Profile Change Notification
A driver registers for notification of hardware profile changes by calling IoRegisterPlugPlayNotification.
The following information applies to calling this routine for hardware profile change notification:
Specify an EventCategory of EventCategoryHardwareProfileChange.
EventCategoryData must be NULL.
Specify a driver-defined Context, if appropriate, that the PnP manager will pass to the callback routine.
A driver removes notification registration by calling IoUnregisterPlugPlayNotification with the NotificationEntry returned by IoRegisterPlugPlayNotification.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for