Binarysharp.MemoryManagement.Windows.WindowCore.EnumTopLevelWindows C# (CSharp) Method

EnumTopLevelWindows() public static method

Enumerates all top-level windows on the screen. This function does not search child windows.
public static EnumTopLevelWindows ( ) : IEnumerable
return IEnumerable
        public static IEnumerable<IntPtr> EnumTopLevelWindows()
        {
            // When passing a null pointer, this function is equivalent to EnumWindows
            return EnumChildWindows(IntPtr.Zero);
        }