Jump to content

Recommended Posts

Posted

Hello.

I'm trying convert a synchronous windows update search to async

https://msdn.microsoft.com/en-us/library/windows/desktop/aa386515(v=vs.85).aspx

This is synchronous:

$updateSession = ObjCreate("Microsoft.Update.Session")

$updateSearcher = $updateSession.CreateUpdateSearcher()

$searchResult = $updateSearcher.Search("IsInstalled=1 Or IsInstalled=0")

 

For async I need to use $updateSearcher.BeginSearch method, with a callback.

Can someone please explain how this can be done in Autoit?

 

Thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...