Windows ETW: StartTrace failing with error 87 (ERROR_INVALID_PARAMETER)
问题 i'm calling the Event Tracing for Windows StartTrace function: StartTrace(sessionHandle, KERNEL_LOGGER_NAME, sessionProperties); It is failing with error code 87 ( ERROR_INVALID_PARAMETER ). The MSDN gives some common causes for this error: Properties is NULL . SessionHandle is NULL . The LogFileNameOffset member of Properties is not valid. The LoggerNameOffset member of Properties is not valid. The LogFileMode member of Properties specifies a combination of flags that is not valid. The Wnode