MicrosoftEdge / MicrosoftEdge/WebView2Samples

cppwinrt Callback

Open
#30 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

Description

Callback<ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>(
		[hWnd](HRESULT result, ICoreWebView2Controller* controller) -> HRESULT {

Is there a modern C++/WinRT version of Microsoft::WRL::Callback?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the sample code containing the C++ callback expression shown in the issue and review how its WebView2 completion handler is constructed. Determine whether C++/WinRT provides a modern equivalent to Microsoft::WRL::Callback, and document the supported approach with a concise example or reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.