共用方式為


IViewObjectPresentFlip::NotifyRender method

Called from Internet Explorer (MSHTML UI thread) to notify the control that IE is rendering a frame of content. This can be used by the control to determine when to render (if synchronizing with IE's rendering is its intended behavior).

Syntax

HRESULT NotifyRender(
   BOOL fRecreatePresenter
);

Parameters

  • fRecreatePresenter

Return value

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

Remarks

When true is passed to NotifyRender, it is not optional to recreate the presenter. Any existing presenter that has been created will no longer function. Conditions that will cause this include: (a) The Direct3D device is reset / removed and (b) The layout of the page has changed such that the ability to independently compose the control has changed.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

DLL

Mshtml.dll; Edgehtml.dll