Skip to content

Commit 6272db7

Browse files
authored
Update AutomationProvider.md
1 parent 564489b commit 6272db7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

specs/AutomationProvider.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ See [API Details](#api_details) section below for API reference.
3939
## Win32 C++
4040
``` c#
4141
interface ICoreWebView2Environment4 : ICoreWebView2Environment3 {
42-
/// Returns the UI Automation Provider for the
43-
/// ICoreWebView2CompositionController that corresponds with the given HWND.
42+
/// Returns the UI Automation Provider in cases where automation APIs are asking
43+
/// about an HWND that may belong to the WebView but the app doesn't have context
44+
/// to know which CoreWebView2Controller is being referenced.
4445
HRESULT GetProviderForHwnd([in] HWND hwnd,
4546
[out, retval] IUnknown** provider);
4647
}

0 commit comments

Comments
 (0)