projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NTOSKRNL]
[reactos.git]
/
reactos
/
ntoskrnl
/
po
/
power.c
diff --git
a/reactos/ntoskrnl/po/power.c
b/reactos/ntoskrnl/po/power.c
index
eb163b6
..
e8d37b8
100644
(file)
--- a/
reactos/ntoskrnl/po/power.c
+++ b/
reactos/ntoskrnl/po/power.c
@@
-138,7
+138,7
@@
PoInitSystem(IN ULONG BootPhase)
{
/* Registry power button notification */
IoRegisterPlugPlayNotification(EventCategoryDeviceInterfaceChange,
{
/* 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,
(PVOID)&GUID_DEVICE_SYS_BUTTON,
IopRootDeviceNode->
PhysicalDeviceObject->DriverObject,