HW_REGISTRY_NOTIFICATION_ROUTINE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

HW_REGISTRY_NOTIFICATION_ROUTINE HwRegistryNotificationRoutine;

VOID HwRegistryNotificationRoutine(
  PVOID HwDeviceExtension
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-storport-hw_registry_notification_routine)

Description

Storport calls a miniport's HW_REGISTRY_NOTIFICATION_ROUTINE callback when a change occurs under the HKLM\System\CurrentControlSet\Services<serviceName>\Parameters\Device registry key.

Parameters

HwDeviceExtension

[in] Pointer to the hardware device extension for the host bus adapter (HBA). The miniport provided this value to Storport in a prior call to StorPortEnableRegistryKeyNotification.

Remarks

If a miniport has enabled registry change notification, Storport will call the miniport's HW_REGISTRY_NOTIFICATION_ROUTINE callback routine with the device extension when a change occurs under the HKLM\System\CurrentControlSet\Services<serviceName>\Parameters\Device registry key.

HW_REGISTRY_NOTIFICATION_ROUTINE should call StorPortRegistryRead for each value name, setting the Global parameter as 1.

See also

StorPortEnableRegistryKeyNotification

StorPortRegistryRead