Edit

Share via


IDebugProgram2::GetProgramId

Gets a GUID for this program.

Syntax

int GetProgramId( 
   out Guid pguidProgramId
);

Parameters

pguidProgramId
[out] Returns the GUID for this program.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

A debug engine (DE) must return the program identifier originally passed to the OnAttach or Attach methods. This allows identification of the program across debugger components.

See also