[NTOS:WMI] IoWMIWriteEvent(): Fix annotation, Extend DPRINT1()

CORE-17384
This commit is contained in:
Serge Gautherie 2020-09-09 03:46:56 +02:00 committed by Jérôme Gardou
parent 4b4bff0642
commit 495e22e0d5

View file

@ -106,10 +106,10 @@ IoWMISuggestInstanceName(IN PDEVICE_OBJECT PhysicalDeviceObject OPTIONAL,
*/ */
NTSTATUS NTSTATUS
NTAPI NTAPI
IoWMIWriteEvent(IN PVOID WnodeEventItem) IoWMIWriteEvent(_Inout_ PVOID WnodeEventItem)
{ {
DPRINT1("IoWMIWriteEvent() called for WnodeEventItem %p, returning success\n", DPRINT1("IoWMIWriteEvent() called for WnodeEventItem %p (Flags = 0x%08lx), returning success\n",
WnodeEventItem); WnodeEventItem, ((PWNODE_HEADER)WnodeEventItem)->Flags);
/* Free the buffer if we are returning success */ /* Free the buffer if we are returning success */
if (WnodeEventItem != NULL) if (WnodeEventItem != NULL)