Win32 API in C++ to see if a particular KB is installed

Vaibhav Gaur 21 Reputation points
2021-03-24T06:01:35.717+00:00

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.

Windows API - Win32
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
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful