共用方式為


IDebugHostContextTargetComposition::GetServiceThread 方法 (dbgmodel.h)

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

語法

HRESULT GetServiceThread(
  ISvcThread **ppThread
);

參數

ppThread

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

傳回值

如果方法成功,則會傳回S_OK。 如果內容是指高於特定線程層級的內容(大部分內容確實如此),這個方法會傳回E_FAIL。 否則,它會傳回 HRESULT 錯誤碼。

要求

要求 價值
標頭 dbgmodel.h

另請參閱

IDebugHostContextTargetComposition 介面