FLASHWINFO.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace Microsoft.Win32
  4. {
  5. /// <summary>
  6. /// FLASHWINFO定义
  7. /// </summary>
  8. public static partial class NativeMethods
  9. {
  10. /// <summary>
  11. /// FLASHWINFO
  12. /// </summary>
  13. [StructLayout(LayoutKind.Sequential)]
  14. public struct FLASHWINFO
  15. {
  16. /// <summary>
  17. /// The size of the structure, in bytes.
  18. /// </summary>
  19. public int cbSize;
  20. /// <summary>
  21. /// A handle to the window to be flashed. The window can be either opened or minimized.
  22. /// </summary>
  23. public IntPtr hwnd;
  24. /// <summary>
  25. /// The flash status. This parameter can be one or more of the following values.see FLASHW_
  26. /// </summary>
  27. public int dwFlags;
  28. /// <summary>
  29. /// The number of times to flash the window.
  30. /// </summary>
  31. public int uCount;
  32. /// <summary>
  33. /// The rate at which the window is to be flashed, in milliseconds. If dwTimeout is zero, the function uses the default cursor blink rate.
  34. /// </summary>
  35. public int dwTimeout;
  36. }
  37. }
  38. }