ISurfacePresenterFlip::Present method

Presents the next back buffer to the screen and progresses the swap chain.

Syntax

HRESULT Present();

Parameters

This method has no parameters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The Present method can be called from any thread, but the buffer being rendered to should not be touched during the call. In most cases (where the control can be independently composed) presentation does not cause MSHTML to do any rendering work and is independent.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

DLL

Mshtml.dll; Edgehtml.dll