I'm using EnumWindows() to get a list of running processes, and then using GetWindowText and GetWindowModuleFileName to retrieve the window title and exe file path of the process. I thought EnumWindows was only supposed to list top level windows, but it's returning quite a bit of extra stuff too. So I'm still getting a shedload of useless processes. Things with either no name at all or it's a system process that I really shouldn't let the user stop anyway.
Is there a way of filtering out Windows/Processes? I'm only really looking for proper apps running, not just processes and windows system stuff.
Is there a way of filtering out Windows/Processes? I'm only really looking for proper apps running, not just processes and windows system stuff.