using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace WinAPI { /// /// /// public static class Struct { #region Struct /// /// /// [StructLayout(LayoutKind.Sequential)] public struct BLENDFUNCTION { /// /// /// public byte BlendOp; /// /// / /// public byte BlendFlags; /// /// /// public byte SourceConstantAlpha; /// /// /// public byte AlphaFormat; } #endregion /// /// /// [Flags] public enum FlagsSetWindowPos : uint { /// /// /// SWP_NOSIZE = 0x0001, /// /// /// SWP_NOMOVE = 0x0002, /// /// /// SWP_NOZORDER = 0x0004, /// /// /// SWP_NOREDRAW = 0x0008, /// /// /// SWP_NOACTIVATE = 0x0010, /// /// /// SWP_FRAMECHANGED = 0x0020, /// /// /// SWP_SHOWWINDOW = 0x0040, /// /// /// SWP_HIDEWINDOW = 0x0080, /// /// /// SWP_NOCOPYBITS = 0x0100, /// /// /// SWP_NOOWNERZORDER = 0x0200, /// /// / /// SWP_NOSENDCHANGING = 0x0400, /// /// / /// SWP_DRAWFRAME = 0x0020, /// /// /// SWP_NOREPOSITION = 0x0200, /// /// /// SWP_DEFERERASE = 0x2000, /// /// /// SWP_ASYNCWINDOWPOS = 0x4000 }; /// /// /// public struct COPYDATASTRUCT { /// /// /// public IntPtr dwData; /// /// /// public int cData; /// /// /// [MarshalAs(UnmanagedType.LPStr)] public string lpData; } } }