Compartir a través de


IDebugProgram2::GetProgramId

Gets a GUID for this program.

HRESULT GetProgramId( 
   GUID* pguidProgramId
);
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 IDebugProgramNodeAttach2::OnAttach or IDebugEngine2::Attach methods. This allows identification of the program across debugger components.

See Also

Reference

IDebugProgram2

IDebugProgramNodeAttach2::OnAttach

IDebugEngine2::Attach