How to know when EnumWindows finishes its listing of windows? Because EnumWindows receives a callback function as parameter, and it keeps calling it until no more windows to be listed.
How to know when EnumWindows finishes its listing of windows? Because EnumWindows receives a
Share
EnumWindows()blocks while enumeration is taking place. WhenEnumWindows()finishes enumerating through the windows, it returns aBOOL.The following code snippet:
gives me an output like this:
So
EnumWindows()definitely enumerates in a synchronous manner.