ICLRDataTarget::GetCurrentThreadID Method

Gets the operating system identifier for the current thread.

HRESULT GetCurrentThreadID (
    [out] ULONG32    *threadID


[out] A pointer to the operating system identifier of the current thread for the target process.

If there is no current thread for the target process, the GetCurrentThreadID method may fail.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

Community Additions