Compartilhar via


ICorDebug::GetProcess Method

Gets a pointer to the ICorDebugProcess instance for the specified process.

HRESULT GetProcess (
    [in] DWORD               dwProcessId,
    [out] ICorDebugProcess   **ppProcess
);

Parameters

  • dwProcessId
    [in] The ID of the process.

  • ppProcess
    [out] A pointer to the address of a ICorDebugProcess instance for the specified process.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebug Interface