共用方式為


InvalidatePainterInfo method

Informs MSHTML that the information contained in the HTML_PAINTER_INFO structure has changed.

Syntax

HRESULT retVal = object.InvalidatePainterInfo();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

Remarks

When this method is called, MSHTML will call IHTMLPainter::GetPainterInfo prior to the next call to IHTMLPainter::Draw.