NTSTATUS WmipStartLogger( IN OUT PWMI_LOGGER_INFORMATION LoggerInfo ); Routine Description: It is called by WmipIoControl in wmi.c, with IOCTL_WMI_START_LOGGER to start up an instance of the logger. It basically creates and initializes the logger instance context, and starts up a system thread for the logger (WmipLogger()). If the user has requested to turn on kernel tracing, it will also lock in the necessary routines after the logger has started. NOTE: A special instance (KERNEL_LOGGER) is reserved exclusively for logging kernel tracing. To turn on KERNEL_LOGGER, LoggerInfo->Wnode.Guid should be set to SystemTraceControlGuid, and sufficient space must be provided in LoggerInfo->LoggerName. To turn on other loggers, simply provide a name in LoggerName. The logger id will be returned. Arguments: LoggerInfo a pointer to the structure for the logger's control and status information Return Value: The status of performing the action requested.