Share via


ICorDebugMDA::GetOSThreadId Method

Gets the operating system (OS) thread identifier upon which this Managed Debugging Assistant (MDA) is executing.

HRESULT GetOSThreadId (
    [out] DWORD    *pOsTid
);

Parameters

Parameter Description

pOsTid

[out] A pointer to the OS thread identifier.

Remarks

The OS thread is used instead of an ICorDebugThread Interface to allow for situations in which an MDA is fired either on a native thread or on a managed thread that has not yet entered managed code.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugMDA Interface

Concepts

Diagnosing Errors with Managed Debugging Assistants