This documentation is archived and is not being maintained.

ICorProfilerInfo::GetThreadInfo Method

Gets the current Win32 thread identity for the specified thread.

HRESULT GetThreadInfo(
    [in]  ThreadID threadId,
    [out] DWORD    *pdwWin32ThreadId);


[in] The ID of the thread for which to get the current Win32 ID.


[out] A pointer to the specified thread's current Win32 thread ID.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0