How to retrieve URL of a Brave tab using Windows C++ and the process ID

I want to retrieve the URL of a Brave tab using Windows C++ and the process ID.
I can get the Process IDs for brave.exe processes with the WTSEnumerateProcesses() function,
but I need the URL in the address bar order to know that I have the correct brave.exe process.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.