ICorProfilerInfo::GetThreadInfo Method

Gets the current Win32 thread identity for the specified thread.

Syntax

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

Parameters

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

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

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also