예제 #1
0
        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);
        }
예제 #2
0
 public static extern bool FlashWindowEx(ref FlashWinInfo info);