---
description: This interface is a handler for when the `Favicon` is changed.
title: WebView2 Win32 C++ ICoreWebView2FaviconChangedEventHandler
ms.date: 01/29/2024
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2FaviconChangedEventHandler
topic_type: 
- APIRef
api_name:
- ICoreWebView2FaviconChangedEventHandler
- ICoreWebView2FaviconChangedEventHandler.Invoke
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# interface ICoreWebView2FaviconChangedEventHandler

[!INCLUDE [deprecation-note](../includes/deprecation-note.md)]

```
interface ICoreWebView2FaviconChangedEventHandler
  : public IUnknown
```

This interface is a handler for when the `Favicon` is changed.

## Summary

 Members                        | Descriptions
--------------------------------|---------------------------------------------
[Invoke](#invoke) | Called to notify the favicon changed. The event args are always null.

The sender is the ICoreWebView2 object the top-level document of which has changed favicon and the eventArgs is nullptr. Use the FaviconUri property and GetFavicon method to obtain the favicon data. The second argument is always null. For more information see `add_FaviconChanged`.

## Applies to

Product                         | Introduced
--------------------------------|---------------------------------------------
WebView2 Win32            |    1.0.1293.44
WebView2 Win32 Prerelease |    1.0.1305

## Members

#### Invoke

Called to notify the favicon changed. The event args are always null.

> public HRESULT [Invoke](#invoke)(ICoreWebView2 * sender, IUnknown * args)

