CWebView2.GetDevToolsProtocolEventReceivermethod
Get a DevTools Protocol event receiver that allows you to subscribe to a DevTools Protocol event.
Syntax
FUNCTION GetDevToolsProtocolEventReceiver (BYVAL eventName AS LPCWSTR, BYVAL receiver AS Afx_ICoreWebView2DevToolsProtocolEventReceiver PTR PTR) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
eventName | The full name of the event. | |
receiver | A pointer that receives a pointer to ICoreWebView2DevToolsProtocolEventReceiver. |
Description
Get a DevTools Protocol event receiver that allows you to subscribe to a DevTools Protocol event.
The eventName parameter is the full name of the event in the format {domain}.{event}. For more information about DevTools Protocol events description and event args, navigate to DevTools Protocol Viewer.
Reference
- Defined in AfxNova/CWebView2.inc:798
- Documented in WebView/CWebWiew2 Class.md
- Topic: CWebView2 Class