ICorDebug::GetProcess 方法

更新:2007 年 11 月

获取指向指定进程的 ICorDebugProcess 实例的指针。

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

参数

  • dwProcessId
    [in] 进程的 ID。

  • ppProcess
    [out] 一个指向指定进程的 ICorDebugProcess 实例地址的指针。

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**CorDebug.idl

**库:**CorGuids.lib

**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

ICorDebug