Skip to content

Commit 31d03f2

Browse files
authored
Merge pull request #20 from MicrosoftEdge/user/peiche/fix-link
Update README.md and fix links
2 parents b34a0fe + d51f9ae commit 31d03f2

12 files changed

+86
-85
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# WebView2 Samples
22

3-
This repository contain examples of how to use the [WebView 2 API](https://docs.microsoft.com/en-us/microsoft-edge/hosting/webview2). Please use [WebView2Samples issue tracker](https://github.com/MicrosoftEdge/WebView2Samples/issues) for sample issues and [WebViewFeedback issue tracker](https://github.com/MicrosoftEdge/WebViewFeedback/issues) for general WebView2 issues and feedback.
3+
This repository contain examples of how to use the [WebView 2 API](https://docs.microsoft.com/microsoft-edge/hosting/webview2). Please use [WebView2Samples issue tracker](https://github.com/MicrosoftEdge/WebView2Samples/issues) for sample issues and [WebViewFeedback issue tracker](https://github.com/MicrosoftEdge/WebViewFeedback/issues) for general WebView2 issues and feedback.
44

55
## 1. Getting Started Guide
66

77
This Sample is found within the [GettingStartedGuide](https://github.com/MicrosoftEdge/WebView2Samples/tree/master/GettingStartedGuide) directory.
88

9-
Start with the [Microsoft Edge WebView2 getting-started guide](https://docs.microsoft.com/en-us/microsoft-edge/hosting/webview2/gettingstarted) to learn how to setup a WebView within a Win32 application.
9+
Start with the [Microsoft Edge WebView2 getting-started guide](https://docs.microsoft.com/microsoft-edge/hosting/webview2/gettingstarted) to learn how to setup a WebView within a Win32 application.
1010

1111
## 2. WebView2 API Sample
1212

WebView2APISample/AppWindow.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,10 @@ HRESULT AppWindow::OnCreateEnvironmentCompleted(
376376
CHECK_FAILURE(result);
377377

378378
CHECK_FAILURE(environment->QueryInterface(IID_PPV_ARGS(&m_webViewEnvironment)));
379-
CHECK_FAILURE(m_webViewEnvironment->CreateCoreWebView2Host(
380-
m_mainWindow, Callback<ICoreWebView2CreateCoreWebView2HostCompletedHandler>(
381-
this, &AppWindow::OnCreateCoreWebView2HostCompleted)
382-
.Get()));
379+
CHECK_FAILURE(m_webViewEnvironment->CreateCoreWebView2Host(
380+
m_mainWindow, Callback<ICoreWebView2CreateCoreWebView2HostCompletedHandler>(
381+
this, &AppWindow::OnCreateCoreWebView2HostCompleted)
382+
.Get()));
383383
return S_OK;
384384
}
385385
//! [CreateCoreWebView2Host]

WebView2APISample/README.md

Lines changed: 80 additions & 79 deletions
Large diffs are not rendered by default.
12.2 KB
Loading
714 KB
Loading
8.02 KB
Loading
13.3 KB
Loading
19.9 KB
Loading
785 KB
Loading
1.76 MB
Loading

0 commit comments

Comments
 (0)