Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SetupSetThreadLogToken function sets the log context, as represented by a log token, for the thread from which this function was called. A subsequent call to SetupGetThreadLogToken made within the same thread retrieves the log token that was most recently set for the thread.
WINSETUPAPI VOID SetupSetThreadLogToken(
[in] SP_LOG_TOKEN LogToken
);
[in] LogToken
A log token that is either a system-defined log token or was returned by SetupGetThreadLogToken.
None
SetupSetThreadLogToken establishes a log context for the thread from which the function was called. The log context is represented by a log token, which can be retrieved by calling SetupGetThreadLogToken.
For more information about log tokens, see Log Tokens.
For more information about using log tokens, see Setting and Getting a Log Token for a Thread.
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of Windows. |
Target Platform | Desktop |
Header | setupapi.h (include Setupapi.h) |
Library | Setupapi.lib |