Partager via


ICorDebugMDA::GetOSThreadId Method

Gets the operating system (OS) thread identifier upon which the managed debugging assistant (MDA) represented by ICorDebugMDA is executing.

HRESULT GetOSThreadId (
    [out] DWORD    *pOsTid
);

Parameters

  • pOsTid
    [out] A pointer to the OS thread identifier.

Remarks

The OS thread is used instead of an ICorDebugThread 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

Concepts

ICorDebugMDA Interface

Diagnosing Errors with Managed Debugging Assistants