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