https://git.reactos.org/?p=reactos.git;a=commitdiff;h=495e22e0d5b38ee0bcd16…
commit 495e22e0d5b38ee0bcd16b3556c272604795dd09
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Wed Sep 9 03:46:56 2020 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Wed Feb 17 18:59:09 2021 +0100
[NTOS:WMI] IoWMIWriteEvent(): Fix annotation, Extend DPRINT1()
CORE-17384
---
ntoskrnl/wmi/wmi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/wmi/wmi.c b/ntoskrnl/wmi/wmi.c
index 58547b6d419..b27e134f811 100644
--- a/ntoskrnl/wmi/wmi.c
+++ b/ntoskrnl/wmi/wmi.c
@@ -106,10 +106,10 @@ IoWMISuggestInstanceName(IN PDEVICE_OBJECT PhysicalDeviceObject
OPTIONAL,
*/
NTSTATUS
NTAPI
-IoWMIWriteEvent(IN PVOID WnodeEventItem)
+IoWMIWriteEvent(_Inout_ PVOID WnodeEventItem)
{
- DPRINT1("IoWMIWriteEvent() called for WnodeEventItem %p, returning
success\n",
- WnodeEventItem);
+ DPRINT1("IoWMIWriteEvent() called for WnodeEventItem %p (Flags = 0x%08lx),
returning success\n",
+ WnodeEventItem, ((PWNODE_HEADER)WnodeEventItem)->Flags);
/* Free the buffer if we are returning success */
if (WnodeEventItem != NULL)