共用方式為


interface ICoreWebView2WindowCloseRequestedEventHandler

interface ICoreWebView2WindowCloseRequestedEventHandler
  : public IUnknown

Receives WindowCloseRequested events.

Summary

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

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

Invoke

Provides the event args for the corresponding event.

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