mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOS:WMI] IoWMIWriteEvent(): Add WNODE_FLAG_TRACED_GUID case
Addendum to d5f8964
(r23040).
CORE-17384
This commit is contained in:
parent
495e22e0d5
commit
17a9041da1
1 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,15 @@ IoWMIWriteEvent(_Inout_ PVOID WnodeEventItem)
|
|||
DPRINT1("IoWMIWriteEvent() called for WnodeEventItem %p (Flags = 0x%08lx), returning success\n",
|
||||
WnodeEventItem, ((PWNODE_HEADER)WnodeEventItem)->Flags);
|
||||
|
||||
if (((PWNODE_HEADER)WnodeEventItem)->Flags & WNODE_FLAG_TRACED_GUID)
|
||||
{
|
||||
DPRINT("IoWMIWriteEvent(): Flags has WNODE_FLAG_TRACED_GUID\n");
|
||||
|
||||
// Never free WnodeEventItem in this case.
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* Free the buffer if we are returning success */
|
||||
if (WnodeEventItem != NULL)
|
||||
ExFreePool(WnodeEventItem);
|
||||
|
|
Loading…
Reference in a new issue