Freigeben über


IDebugThread2::GetProgram

Gets the program in which a thread is running.

HRESULT GetProgram ( 
   IDebugProgram2** ppProgram
);
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

Reference

IDebugThread2

IDebugProgram2