using System; using System.Runtime.InteropServices; namespace Microsoft.Win32 { /// /// FLASHWINFO定义 /// public static partial class NativeMethods { /// /// FLASHWINFO /// [StructLayout(LayoutKind.Sequential)] public struct FLASHWINFO { /// /// The size of the structure, in bytes. /// public int cbSize; /// /// A handle to the window to be flashed. The window can be either opened or minimized. /// public IntPtr hwnd; /// /// The flash status. This parameter can be one or more of the following values.see FLASHW_ /// public int dwFlags; /// /// The number of times to flash the window. /// public int uCount; /// /// The rate at which the window is to be flashed, in milliseconds. If dwTimeout is zero, the function uses the default cursor blink rate. /// public int dwTimeout; } } }