public static extern bool EnumDesktopWindows(IntPtr hDesktop, EnumDesktopWindowsDelegate lpEnumCallbackFunction, IntPtr lParam);
public static bool enumDesktopWindows( EnumDesktopWindowsDelegate proc ) { return EnumDesktopWindows(IntPtr.Zero, proc, IntPtr.Zero); }
public static extern bool EnumDesktopWindows(IntPtr hDesktop, EnumDesktopWindowsDelegate lpfn, IntPtr lParam);
public static bool EnumDesktopWindows(EnumDesktopWindowsDelegate callback) { return EnumDesktopWindows(GetThreadDesktop(GetCurrentThreadId()), callback, IntPtr.Zero); }