NTKERNELAPI NTSTATUS WmiStopTrace( IN PWMI_LOGGER_INFORMATION LoggerInfo ); Routine Description: It is called by WmipIoControl in wmi.c, with IOCTL_WMI_STOP_LOGGER to stop an instance of the logger. If the logger is the kernel logger, it will also turn off kernel tracing and unlock the routines previously locked. It will also free all the context of the logger. Calls StopLoggerInstance to do the actual work. Arguments: LoggerInfo a pointer to the structure for the logger's control and status information Return Value: The status of performing the action requested.