IASHTMLControl::ImageFail

This method is invoked if an application is unable to load an image.

Syntax

HRESULT ImageFail ( DWORD dwCookie );

Parameters

dwCookie
Specifies a cookie that identifies the image. It is passed to the application through the IASHTMLControlNotifySink::InlineImage function when an image is encountered.

Return Values

An appropriate HRESULT value is returned.

Remarks

This method informs the control that it should change from displaying “is loading” to displaying “load failed.”

See Also

IASHTMLControl::put_Image, IASHTMLControlNotifySink::InlineImage