Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am porting a Win32 project into WinRT using C++/WinRT. (Visual Studio 2017)
In my Win32 project, I am using WlanRegisterNotification API to get notified when the user connects into any WiFi router.
How can I achieve the same in C++/WinRT ?
The concept of callback functions are there in C++/WinRT as well ?

Thanks in advance.

What I have tried:

Tried to get the adapters using WiFiAdapter::FindAllAdaptersAsync().get()
But could not find the method to register a callback when the WiFi Adapter connects to a router.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900