Question

This is a Windows 32 API question: How to get the list of windows without using callback (called by EnumWindows)? Because I need to get the full list of windows before doing other codes which rely on this list of windows.

Was it helpful?

Solution

EnumWindows blocks the current thread, so all other codes which rely on the results of EnumWindows work fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top