Edit

Share via


IDebugThread2::GetProgram

Gets the program in which a thread is running.

Syntax

int GetProgram ( 
   out IDebugProgram2 ppProgram
);

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.

See also