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(UINT32 PointerId, HWND ParentWindow, COREWEBVIEW2_MATRIX_4X4 transform, ICoreWebView2PointerInfo ** value)

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 ** value)