File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ bool AppWindow::ConfigureAndExecuteFind(const std::wstring& searchTerm)
5454 CHECK_FAILURE(webView2find->StartFind(
5555 findConfiguration.get(),
5656 Callback<ICoreWebView2FindOperationCompletedHandler>(
57- [this](HRESULT result, LONG ActiveIdx, LONG MatchesCount ) -> HRESULT
57+ [this](HRESULT result, BOOL status ) -> HRESULT
5858 {
5959 if (SUCCEEDED(result))
6060 {
@@ -326,7 +326,8 @@ interface ICoreWebView2FindActiveMatchIndexChangedEventHandler : IUnknown {
326326/// Handles the event that's fired when the find operation completes.
327327 [uuid (2604789 D - 9553 - 4246 - 8 E 21 - B9C74EFAD04F ), object , pointer_default (unique )]
328328interface ICoreWebView2FindOperationCompletedHandler : IUnknown {
329- /// Provides the event args when the find operation completes.
329+ /// Param1 refers to the returned code when the find operation completes.
330+ /// Param2 refers whether the find session successfully finished executing or not.
330331 HRESULT Invoke (HRESULT errorCode , BOOL status );
331332}
332333
You can’t perform that action at this time.
0 commit comments