Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.74 KB

icorewebview2statechangedeventhandler.md

File metadata and controls

52 lines (37 loc) · 1.74 KB
description title ms.date keywords topic_type api_name api_type api_location
Implements the interface to receive `StateChanged` event.
WebView2 Win32 C++ ICoreWebView2StateChangedEventHandler
05/20/2024
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2StateChangedEventHandler
APIRef
ICoreWebView2StateChangedEventHandler
ICoreWebView2StateChangedEventHandler.Invoke
COM
embeddedbrowserwebview.dll

interface ICoreWebView2StateChangedEventHandler

[!INCLUDE deprecation-note]

interface ICoreWebView2StateChangedEventHandler
  : public IUnknown

Implements the interface to receive StateChanged event.

Summary

Members Descriptions
Invoke Provides the event args for the corresponding event.

Use the ICoreWebView2DownloadOperation.State property to get the current state, which can be in progress, interrupted, or completed. Use the ICoreWebView2DownloadOperation.InterruptReason property to get the interrupt reason if the download is interrupted.

Applies to

Product Introduced
WebView2 Win32 1.0.902.49
WebView2 Win32 Prerelease 1.0.902

Members

Invoke

Provides the event args for the corresponding event.

public HRESULT Invoke(ICoreWebView2DownloadOperation * sender, IUnknown * args)

No event args exist and the args parameter is set to null.