Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
The SetupGetThreadLogToken function retrieves the log token for the thread from which this function was called.
Syntax
WINSETUPAPI SP_LOG_TOKEN SetupGetThreadLogToken();
Return value
SetupGetThreadLogToken returns the log token for the thread from which the function was called. If a log token is not set for the thread, SetupGetThreadLogToken returns the system-defined log token LOGTOKEN_UNSPECIFIED.
Remarks
To set a log token for a thread, call SetupSetThreadLogToken.
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.
Requirements
| 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 |
| API set | ext-ms-win-setupapi-logging-l1-1-0 (introduced in Windows 8) |