I'm looking for a simple code to enumerate all windows on Windows 8, in order to look for a Desktop window with a specific title (example: "Untilted - Notepad").
I used:
BOOL WINAPI EnumWindows(
_In_ WNDENUMPROC lpEnumFunc,
_In_ LPARAM lParam
);
But according to the MSDN, For Windows 8 and later, EnumWindows enumerates only top-level windows of desktop apps.
.
Any alternative for Windows 8 ?
(PS: This follows up my java question, but I feel .net people can help me more on this).