コード例 #1
0
 // Token: 0x060000C6 RID: 198 RVA: 0x000053A0 File Offset: 0x000035A0
 public static bool Flash(IntPtr formHandle, uint count)
 {
     if (FlashWindow.Win2000OrLater)
     {
         FlashWindow.FLASHWINFO flashwinfo = FlashWindow.Create_FLASHWINFO(formHandle, 3u, count, 0u);
         return(FlashWindow.FlashWindowEx(ref flashwinfo));
     }
     return(false);
 }
コード例 #2
0
 // Token: 0x060000C9 RID: 201 RVA: 0x00005424 File Offset: 0x00003624
 public static bool Stop(IntPtr formHandle)
 {
     if (FlashWindow.Win2000OrLater)
     {
         FlashWindow.FLASHWINFO flashwinfo = FlashWindow.Create_FLASHWINFO(formHandle, 0u, uint.MaxValue, 0u);
         return(FlashWindow.FlashWindowEx(ref flashwinfo));
     }
     return(false);
 }
コード例 #3
0
 // Token: 0x060000C5 RID: 197 RVA: 0x00005358 File Offset: 0x00003558
 private static FlashWindow.FLASHWINFO Create_FLASHWINFO(IntPtr handle, uint flags, uint count, uint timeout)
 {
     FlashWindow.FLASHWINFO flashwinfo = default(FlashWindow.FLASHWINFO);
     flashwinfo.cbSize    = Convert.ToUInt32(Marshal.SizeOf <FlashWindow.FLASHWINFO>(flashwinfo));
     flashwinfo.hwnd      = handle;
     flashwinfo.dwFlags   = flags;
     flashwinfo.uCount    = count;
     flashwinfo.dwTimeout = timeout;
     return(flashwinfo);
 }
コード例 #4
0
 private static extern bool FlashWindowEx(ref FlashWindow.FLASHWINFO pwfi);