Partager via


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorProfilerInfo Interface