Testing the functions of wuapi.dll I noticed that some updates are not listed in the results (obviously because they are visible from the update manager).
Code used(c#):
public ISearchResult CheckUpdates()
{
IUpdateSearcher uSearcher = uSession.CreateUpdateSearcher();
uSearcher.Online = true;
ISearchResult uResult = uSearcher.Search("Type='Software' and IsInstalled=0");
return uResult;
}
Also tried all possible filters combination.
Update Manager Screenshot
Anyone knows why? Thanks.
Try adding this:
And leave out the
Type='Software'
like Theo said.