First post so please be gentle.

I need assistance on monitoring UWF in an existing C++ application. There's a tonne of information on how to monitor UWF in C#/Powershell; there's also information on WMI applications in C++... I'm struggling to join the dots.

Basic requirement is to retrieve the UWF_Overlay usage at regular intervals. Any guidance gratefully appreciated!