IDebugHostContextTargetComposition::GetServiceThread 方法 (dbgmodel.h)

GetServiceThread 方法检索与特定主机上下文关联的线程。

语法

HRESULT GetServiceThread(
  ISvcThread **ppThread
);

参数

ppThread

指向接收 ISvcThread 接口的指针变量的指针。

返回值

如果方法成功,则返回S_OK。 如果上下文引用特定线程级别以上的内容(大多数上下文都如此),此方法将返回E_FAIL。 否则,它将返回 HRESULT 错误代码。

要求

要求 价值
标头 dbgmodel.h

另请参阅

IDebugHostContextTargetComposition 接口