NTKERNELAPI
NTSTATUS
FASTCALL
WmiTraceEvent(
  IN  PWNODE_HEADER Wnode,
  IN  KPROCESSOR_MODE RequestorMode
  );

Routine Description:

    This routine is used by WMI data providers to trace events.
    It expects the user to pass in the handle to the logger.
    Also, the user cannot ask to log something that is larger than
    the buffer size (minus buffer header).

    This routine works at IRQL <= DISPATCH_LEVEL

Arguments:

    Wnode           The WMI node header that will be overloaded


Return Value:

    STATUS_SUCCESS  if the event trace is recorded successfully