Share 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: See .NET Framework System Requirements.

Header: ClrData.idl, ClrData.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

ICLRDataTarget Interface