Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,658 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Trying to get category Ids for the installed updates on the machine.
From IUpdateHistoryEntry2 we get ICategoryCollection. Which provides ICategory object on iteration.
Calling get_CategoryId always returns empty.
Try the same through ICategoryCollection obtained from IUpdate interface (Using IUpdateSearcher and required criteria) for the same updates we are able to get categoryId