AfxCWebView2Ptrfunction
Returns a raw pointer to the **CWebView** class.
Syntax
FUNCTION AfxCWebView2Ptr (BYVAL hWin AS HWND) AS CWebView2 PTR
Parameters
| Name | Description | |
|---|---|---|
hWin | [in] Handle of the window that hosts the WebView control. |
Description
Returns a raw pointer to the CWebView class given the handle of the window that hosts it.
Remarks
The returned pointer is a raw pointer. Therefore you don't have to release it.
Reference
- Defined in AfxNova/CWebView2.inc:1798
- Documented in WebView/CWebWiew2 Class.md
- Topic: CWebView2 Class