diff --git a/SampleApps/WebView2APISample/AppWindow.cpp b/SampleApps/WebView2APISample/AppWindow.cpp index 9a2741c..495ff63 100644 --- a/SampleApps/WebView2APISample/AppWindow.cpp +++ b/SampleApps/WebView2APISample/AppWindow.cpp @@ -1847,13 +1847,10 @@ HRESULT AppWindow::CreateControllerWithOptions() //! [AllowHostInputProcessing] if (m_creationModeId == IDM_CREATION_MODE_HOST_INPUT_PROCESSING) { - wil::com_ptr - webView2ExperimentalControllerOptions2; - if (SUCCEEDED( - options->QueryInterface(IID_PPV_ARGS(&webView2ExperimentalControllerOptions2)))) + wil::com_ptr webView2ControllerOptions4; + if (SUCCEEDED(options->QueryInterface(IID_PPV_ARGS(&webView2ControllerOptions4)))) { - CHECK_FAILURE( - webView2ExperimentalControllerOptions2->put_AllowHostInputProcessing(TRUE)); + CHECK_FAILURE(webView2ControllerOptions4->put_AllowHostInputProcessing(TRUE)); } } //! [AllowHostInputProcessing] diff --git a/SampleApps/WebView2APISample/WebView2APISample.vcxproj b/SampleApps/WebView2APISample/WebView2APISample.vcxproj index ad6e62d..28b4602 100644 --- a/SampleApps/WebView2APISample/WebView2APISample.vcxproj +++ b/SampleApps/WebView2APISample/WebView2APISample.vcxproj @@ -502,13 +502,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + diff --git a/SampleApps/WebView2APISample/packages.config b/SampleApps/WebView2APISample/packages.config index 215d634..e769b55 100644 --- a/SampleApps/WebView2APISample/packages.config +++ b/SampleApps/WebView2APISample/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj b/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj index 2db0985..91be9ce 100644 --- a/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj +++ b/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj @@ -25,7 +25,7 @@ AnyCPU - + diff --git a/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj b/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj index 30a538d..c156f07 100644 --- a/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj +++ b/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj @@ -61,7 +61,7 @@ - +