取得代表具有指定標識碼之進程的 ICorPublishProcess 實例。
語法
HRESULT GetProcess(
[in] unsigned pid,
[out] ICorPublishProcess **ppProcess
);
參數
pid [in]進程的標識碼。
ppProcess [out]表示進程的實例位址 ICorPublishProcess 指標。
備註
GetProcess 如果進程不存在,或不是目前用戶可偵錯的受控進程,就會失敗。
需求
平台:請參閱系統需求。
標頭: CorPub.idl、CorPub.h
程式庫:CorGuids.lib
.NET Framework 版本: 自 1.0 起提供