public static void FlashWindow(IntPtr handle, FlashWinInfoFlags flags, uint count, int timeout) { var flash = new FlashWinInfo { Size = (uint)Marshal.SizeOf <FlashWinInfo>(), Hwnd = handle, Flags = flags, Count = count, Timeout = timeout }; FlashWindowEx(ref flash); }
public static extern bool FlashWindowEx(ref FlashWinInfo info);