Open VerboseOutput opened 4 years ago
I don't know if I understood your question correctly! But yes, you are using a modern WRL callback passing a lambda.
Lambda Syntax: [hWnd](HRESULT result, ICoreWebView2Controller* controller) -> HRESULT [ captures ] ( params ) -> returnType { body }
I’m not very familiar with WRL so I was taking a look at the docs and this note concerned me.
Is there a modern C++/WinRT version of Microsoft::WRL::Callback?