IDebugThread2::GetProgram

获取线程在其中运行的程序。

语法

int GetProgram ( 
   out IDebugProgram2 ppProgram
);

参数

ppProgram
[out]返回一个 IDebugProgram2 对象,该对象表示此线程正在运行的程序。

返回值

如果成功,则返回 S_OK;否则,返回错误代码。

另请参阅