NTKERNELAPI
NTSTATUS
WmiQueryTrace(
  IN OUT PWMI_LOGGER_INFORMATION LoggerInfo
  );

Routine Description:

    This routine is called to query the status of a tracing session.
    Caller must pass in either the Logger Name or a valid Logger Id/Handle.

Arguments:

    LoggerInfo     a pointer to the structure for the logger's control
                    and status information

Return Value:

    The status of performing the action requested.