You can investigate it using “wbemtest” tool. Start it from Run dialog or console. (It is usually included in Windows).
Press “Connect”, enter “root\SecurityCenter2”.
Press “Enum Classes…” and “OK” to list the available classes.
Press “Enum Instances…” and enter “AntiVirusProduct”, for example (i.e. a class). If instances are found, open (double-click) them to see details.
To access WMI in C++: https://learn.microsoft.com/en-us/windows/win32/wmisdk/creating-a-wmi-application-using-c-.