interface ICoreWebView2ExperimentalCompositionController4
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
interface ICoreWebView2ExperimentalCompositionController4
: public IUnknown
This interface is an extension of the ICoreWebView2CompositionController.
Summary
Members | Descriptions |
---|---|
CreateCoreWebView2PointerInfoFromPointerId | A helper function to convert a pointerId received from the system into an ICoreWebView2ExperimentalPointerInfo. |
get_AutomationProvider | Returns the UI Automation Provider for the WebView. |
An object implementing ICoreWebView2ExperimentalCompositionController4 interface will also implement ICoreWebView2CompositionController.
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | N/A |
WebView2 Win32 Prerelease | 1.0.790 |
Members
CreateCoreWebView2PointerInfoFromPointerId
A helper function to convert a pointerId received from the system into an ICoreWebView2ExperimentalPointerInfo.
public HRESULT CreateCoreWebView2PointerInfoFromPointerId(UINT pointerId, HWND parentWindow, struct COREWEBVIEW2_MATRIX_4X4 transform, ICoreWebView2PointerInfo ** pointerInfo)
parentWindow is the HWND that contains the WebView. This can be any HWND in the hwnd tree that contains the WebView. The COREWEBVIEW2_MATRIX_4X4 is the transform from that HWND to the WebView. The returned ICoreWebView2ExperimentalPointerInfo is used in SendPointerInfo. The pointer type must be either pen or touch or the function will fail.
get_AutomationProvider
Returns the UI Automation Provider for the WebView.
public HRESULT get_AutomationProvider(IUnknown ** provider)
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈