IDebugThread2::GetProgram
Gets the program in which a thread is running.
Syntax
Parameters
ppProgram
[out] Returns an IDebugProgram2 object that represents the program this thread is running in.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.