Partager via


ICLRDataTarget::GetCurrentThreadID Method

Gets the operating system identifier for the current thread.

HRESULT GetCurrentThreadID (
    [out] ULONG32    *threadID
);

Parameters

  • threadID
    [out] A pointer to the operating system identifier of the current thread for the target process.

Remarks

If there is no current thread for the target process, the GetCurrentThreadID method may fail.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICLRDataTarget Interface