[NTOSKRNL]

- Fix an incorrect assumption which led to ACPI's enumerated buttons not being recognized by the power manager

svn path=/trunk/; revision=46425
This commit is contained in:
Cameron Gutman
2010-03-25 04:05:33 +00:00
parent eb884f4969
commit a00ac160d5
+1 -1
View File
@@ -138,7 +138,7 @@ PoInitSystem(IN ULONG BootPhase)
{
/* Registry power button notification */
IoRegisterPlugPlayNotification(EventCategoryDeviceInterfaceChange,
0, /* The registry has not been initialized yet */
PNPNOTIFY_DEVICE_INTERFACE_INCLUDE_EXISTING_INTERFACES,
(PVOID)&GUID_DEVICE_SYS_BUTTON,
IopRootDeviceNode->
PhysicalDeviceObject->DriverObject,