using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace WinAPI
{
    /// <summary>
    /// 
    /// </summary>
   public static class Struct
    {
        #region Struct
        /// <summary>
        /// 
        /// </summary>
        [StructLayout(LayoutKind.Sequential)]
        public struct BLENDFUNCTION
        {
            /// <summary>
            /// 
            /// </summary>
            public byte BlendOp;
            /// <summary>
            /// /
            /// </summary>
            public byte BlendFlags;
            /// <summary>
            /// 
            /// </summary>
            public byte SourceConstantAlpha;
            /// <summary>
            /// 
            /// </summary>
            public byte AlphaFormat;
        }

        #endregion
        /// <summary>
        /// 
        /// </summary>
        [Flags]
        public enum FlagsSetWindowPos : uint
        {
            /// <summary>
            /// 
            /// </summary>
            SWP_NOSIZE = 0x0001,
            /// <summary>
            /// 
            /// </summary>
            SWP_NOMOVE = 0x0002,
            /// <summary>
            /// 
            /// </summary>
            SWP_NOZORDER = 0x0004,
            /// <summary>
            /// 
            /// </summary>
            SWP_NOREDRAW = 0x0008,
            /// <summary>
            /// 
            /// </summary>
            SWP_NOACTIVATE = 0x0010,
            /// <summary>
            /// 
            /// </summary>
            SWP_FRAMECHANGED = 0x0020,
            /// <summary>
            /// 
            /// </summary>
            SWP_SHOWWINDOW = 0x0040,
            /// <summary>
            /// 
            /// </summary>
            SWP_HIDEWINDOW = 0x0080,
            /// <summary>
            /// 
            /// </summary>
            SWP_NOCOPYBITS = 0x0100,
            /// <summary>
            /// 
            /// </summary>
            SWP_NOOWNERZORDER = 0x0200,
            /// <summary>
            /// /
            /// </summary>
            SWP_NOSENDCHANGING = 0x0400,
            /// <summary>
            /// /
            /// </summary>
            SWP_DRAWFRAME = 0x0020,
            /// <summary>
            /// 
            /// </summary>
            SWP_NOREPOSITION = 0x0200,
            /// <summary>
            /// 
            /// </summary>
            SWP_DEFERERASE = 0x2000,
            /// <summary>
            /// 
            /// </summary>
            SWP_ASYNCWINDOWPOS = 0x4000
        };
        /// <summary>
        /// 
        /// </summary>
        public struct COPYDATASTRUCT
        {
            /// <summary>
            /// 
            /// </summary>
            public IntPtr dwData;
            /// <summary>
            /// 
            /// </summary>
            public int cData;
            /// <summary>
            /// 
            /// </summary>
            [MarshalAs(UnmanagedType.LPStr)]
            public string lpData;
        }
    }
}
