共用方式為


IDebugHostContextTargetComposition::GetServiceProcess 方法 (dbgmodel.h)

GetServiceProcess 方法會擷取與特定主機內容相關聯的進程。

語法

HRESULT GetServiceProcess(
  ISvcProcess **ppProcess
);

參數

ppProcess

接收 ISvcProcess 介面之指標變數的指標。

傳回值

如果方法成功,則會傳回S_OK。 如果內容是指高於特定進程的層級,這個方法會傳回E_FAIL。 否則,它會傳回 HRESULT 錯誤碼。

要求

要求 價值
標頭 dbgmodel.h

另請參閱

IDebugHostContextTargetComposition 介面