ICorProfilerInfo::GetThreadInfo Method

Gets the current Win32 thread identity for the specified thread.

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 .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

See Also

Reference

ICorProfilerInfo Interface