Export (0) Print
Expand All
Expand Minimize

ICorProfilerInfo::GetHandleFromThread Method

Maps the ID of a thread to a Win32 thread handle.

HRESULT GetHandleFromThread(
    [in]  ThreadID threadId,
    [out] HANDLE  *phThread);

threadId

[in] The thread ID to be mapped.

phThread

[out] A pointer to a Win32 thread handle.

The profiler must call the Win32 DuplicateHandle function on the handle before using it.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl

Library: CorGuids.lib

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

Community Additions

ADD
Show:
© 2014 Microsoft