Freigeben über


IDebugPortEx2::GetProgram

Ruft das Programm ab, das einem Programmknoten zugeordnet ist.

Syntax

int GetProgram( 
   IDebugProgramNode2 pProgramNode,
   out IDebugProgram2 ppProgram
);

Parameter

pProgramNode [in] Ein IDebugProgramNode2 -Objekt, das den Programmknoten darstellt.

ppProgram [out] Gibt ein IDebugProgram2 -Objekt zurück, das das Programm darstellt, das dem Programmknoten zugeordnet ist.

Rückgabewert

Wenn die Ausführung erfolgreich ist, wird S_OK, andernfalls ein Fehlercode zurückgegeben.

Siehe auch