public static bool Stop(IntPtr handle) { if (FlashWindow.Win2000OrLater) { FlashWindow.FLASHWINFO fLASHWINFO = FlashWindow.Create_FLASHWINFO(handle, 0u, 4294967295u, 0u); return(FlashWindow.FlashWindowEx(ref fLASHWINFO)); } return(false); }
public static bool Flash(IntPtr handle, uint count) { if (FlashWindow.Win2000OrLater) { FlashWindow.FLASHWINFO fLASHWINFO = FlashWindow.Create_FLASHWINFO(handle, 3u, count, 0u); return(FlashWindow.FlashWindowEx(ref fLASHWINFO)); } return(false); }