Share via


IDebugQueryEngine2::GetEngineInterface

Gets a custom debug engine (DE) interface.

HRESULT GetEngineInterface( 
   IUnknown** ppUnk
);
int GetEngineInterface( 
   out object ppUnk
);

Parameters

  • ppUnk
    [out] Returns an IUnknown object represents the debug engine (DE), and which can be queried for any other valid interface associated with a DE (for example IDebugEngine2 or IDebugEngineLaunch2).

Return Value

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

Remarks

The resulting interface should be used with care because calling through interfaces retrieved from this method circumvents the session debug manager's processing and may result in the SDM getting into a bad state or generating errors while debugging.

See Also

Reference

IDebugQueryEngine2

IDebugEngine2

IDebugEngineLaunch2