Skip to content

Commit 483f602

Browse files
Updates for Win32, WPF, WinForms, UWP and WinUI3 sample apps from 138.0.3344.0
1 parent dddef3d commit 483f602

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

SampleApps/WebView2APISample/AppWindow.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,13 +1847,10 @@ HRESULT AppWindow::CreateControllerWithOptions()
18471847
//! [AllowHostInputProcessing]
18481848
if (m_creationModeId == IDM_CREATION_MODE_HOST_INPUT_PROCESSING)
18491849
{
1850-
wil::com_ptr<ICoreWebView2ExperimentalControllerOptions2>
1851-
webView2ExperimentalControllerOptions2;
1852-
if (SUCCEEDED(
1853-
options->QueryInterface(IID_PPV_ARGS(&webView2ExperimentalControllerOptions2))))
1850+
wil::com_ptr<ICoreWebView2ControllerOptions4> webView2ControllerOptions4;
1851+
if (SUCCEEDED(options->QueryInterface(IID_PPV_ARGS(&webView2ControllerOptions4))))
18541852
{
1855-
CHECK_FAILURE(
1856-
webView2ExperimentalControllerOptions2->put_AllowHostInputProcessing(TRUE));
1853+
CHECK_FAILURE(webView2ControllerOptions4->put_AllowHostInputProcessing(TRUE));
18571854
}
18581855
}
18591856
//! [AllowHostInputProcessing]

SampleApps/WebView2APISample/WebView2APISample.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">
@@ -511,4 +511,4 @@
511511
<Error Condition="!Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.220201.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.ImplementationLibrary.1.0.220201.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
512512
<Error Condition="!Exists('..\packages\Microsoft.Web.WebView2.1.0.3296-prerelease\build\native\Microsoft.Web.WebView2.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Web.WebView2.1.0.3296-prerelease\build\native\Microsoft.Web.WebView2.targets'))" />
513513
</Target>
514-
</Project>
514+
</Project>

0 commit comments

Comments
 (0)