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.
Gets the operating system identifier for the current thread.
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: Windows 2000, Windows XP, Windows Server 2003 family
Header: ClrData.idl
Library: CorGuids.lib
.NET Framework Version: 2.0