interface ICoreWebView2GetFaviconCompletedHandler

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2GetFaviconCompletedHandler
  : public IUnknown

This interface is a handler for the completion of the population of imageStream.

Summary

Members Descriptions
Invoke Called to notify the favicon has been retrieved.

errorCode returns S_OK if the API succeeded. The image is returned in the faviconStream object. If there is no image then no data would be copied into the imageStream. For more details, see the GetFavicon API.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.1305

Members

Invoke

Called to notify the favicon has been retrieved.

public HRESULT Invoke(HRESULT errorCode, IStream * faviconStream)