Ambil perhatian
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba log masuk atau menukar direktori.
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Gets the operating system identifier for the current thread.
Syntax
HRESULT GetCurrentThreadID (
[out] ULONG32 *threadID
);
Parameters
threadID
[out] A pointer to the operating system identifier of the current thread for the target process.
Remarks
If there is no current thread for the target process, the GetCurrentThreadID method may fail.
Requirements
Platforms: See System Requirements.
Header: ClrData.idl, ClrData.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0