private static FlashWinfo CreateFlashInfoStruct(IntPtr handle, uint flags, uint count, uint timeout) { var fi = new FlashWinfo(); fi.cbSize = Convert.ToUInt32(Marshal.SizeOf(fi)); fi.hwnd = handle; fi.dwFlags = flags; fi.uCount = count; fi.dwTimeout = timeout; return(fi); }
private static extern bool FlashWindowEx(ref FlashWinfo pwfi);