---
description: Receives `CloseRequested` events.
title: WebView2 Win32 C++ ICoreWebView2NotificationCloseRequestedEventHandler
ms.date: 03/03/2025
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2NotificationCloseRequestedEventHandler
topic_type: 
- APIRef
api_name:
- ICoreWebView2NotificationCloseRequestedEventHandler
- ICoreWebView2NotificationCloseRequestedEventHandler.Invoke
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# interface ICoreWebView2NotificationCloseRequestedEventHandler

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

```
interface ICoreWebView2NotificationCloseRequestedEventHandler
  : public IUnknown
```

Receives `CloseRequested` events.

## Summary

 Members                        | Descriptions
--------------------------------|---------------------------------------------
[Invoke](#invoke) | Provides the event args for the corresponding event.

## Applies to

Product                         | Introduced
--------------------------------|---------------------------------------------
WebView2 Win32            |    1.0.2739.15
WebView2 Win32 Prerelease |    1.0.2730

## Members

#### Invoke

Provides the event args for the corresponding event.

> public HRESULT [Invoke](#invoke)([ICoreWebView2Notification](icorewebview2notification.md#icorewebview2notification) * sender, IUnknown * args)

