NTKERNELAPI
NTSTATUS
WmiFlushTrace(
  IN OUT PWMI_LOGGER_INFORMATION LoggerInfo
  );

Routine Description:

    It is called by WmipIoControl in wmi.c, with IOCTL_WMI_FLUSH_LOGGER
    to flush all the buffers out of a particular logger

Arguments:

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

Return Value:

    The status of performing the action requested.