Issue with IUpdateHistoryEntry2 interface

Saurabh Srivastava 0 Reputation points
2024-11-17T18:30:10.42+00:00

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

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,658 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.