Sets the composition mode for the ISurfacePresenter interface.
HRESULT SetCompositionMode( VIEW_OBJECT_COMPOSITION_MODE mode );
- [in] A composition mode value.
- Uses legacy GDI technology (IViewObject::Draw) to render content in windowless controls. Causes any outstanding presentation objects to not return successfully for any operation.
- Causes the presenter to render the last presented front buffer. If ISurfacePresenter::Present has not been called, nothing is drawn.
Returns S_OK if successful, or an error value otherwise.