Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,422 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I wanted to find out if a particular KB is installed or not and also if it is applicable to the installed windows version. I have tried Windows Update Agent API but that doesn't give a complete list of installed patches which I get using "wmic qfe get hotfixid". Now I dont want to call wmic from within c++ code and was looking for Win32 APIs which can get this information for me.
You can call WMI in C++ : Example: Creating a WMI Application
To get the KB list, you replace the query by :
SELECT * FROM Win32_QuickFixEngineering