⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 win32api_wrapper.cs

📁 破解的飞信源代码
💻 CS
📖 第 1 页 / 共 2 页
字号:
namespace Imps.Client.Pc.BizControls
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;

    public class win32api_wrapper
    {
        public const int DLGC_WANTARROWS = 1;
        public const int DLGC_WANTCHARS = 0x80;
        public const int EM_GETMODIFY = 0xb8;
        public const int EM_SCROLLCARET = 0xb7;
        public const int ES_AUTOHSCROLL = 0x80;
        public const int ES_AUTOVSCROLL = 0x40;
        public const int ES_CENTER = 1;
        public const int ES_LEFT = 0;
        public const int ES_LOWERCASE = 0x10;
        public const int ES_MULTILINE = 4;
        public const int ES_NOHIDESEL = 0x100;
        public const int ES_NUMBER = 0x2000;
        public const int ES_OEMCONVERT = 0x400;
        public const int ES_PASSWORD = 0x20;
        public const int ES_READONLY = 0x800;
        public const int ES_RIGHT = 2;
        public const int ES_UPPERCASE = 8;
        public const int ES_WANTRETURN = 0x1000;
        public const uint ESB_DISABLE_BOTH = 3;
        public const uint ESB_DISABLE_DOWN = 2;
        public const uint ESB_DISABLE_LEFT = 1;
        public const uint ESB_DISABLE_LTUP = 1;
        public const uint ESB_DISABLE_RIGHT = 2;
        public const uint ESB_DISABLE_RTDN = 2;
        public const uint ESB_DISABLE_UP = 1;
        public const uint ESB_ENABLE_BOTH = 0;
        public const int GWL_EXSTYLE = -20;
        public const int GWL_STYLE = -16;
        public const int GWL_WNDPROC = -4;
        public const int HTCAPTION = 2;
        public const int HTCLIENT = 1;
        public const int HTCLOSE = 20;
        public const int HTERROR = -2;
        public const int HTGROWBOX = 4;
        public const int HTHSCROLL = 6;
        public const int HTMENU = 5;
        public const int HTNOWHERE = 0;
        public const int HTSYSMENU = 3;
        public const int HTTRANSPARENT = -1;
        public const int HTVSCROLL = 7;
        public const int MK_CONTROL = 8;
        public const int MK_LBUTTON = 1;
        public const int MK_MBUTTON = 0x10;
        public const int MK_RBUTTON = 2;
        public const int MK_SHIFT = 4;
        public const int MK_XBUTTON1 = 0x20;
        public const int MK_XBUTTON2 = 0x40;
        public const uint SB_BOTH = 3;
        public const uint SB_BOTTOM = 7;
        public const uint SB_CTL = 2;
        public const uint SB_ENDSCROLL = 8;
        public const uint SB_HORZ = 0;
        public const uint SB_LEFT = 6;
        public const uint SB_LINEDOWN = 1;
        public const uint SB_LINELEFT = 0;
        public const uint SB_LINERIGHT = 1;
        public const uint SB_LINEUP = 0;
        public const uint SB_PAGEDOWN = 3;
        public const uint SB_PAGELEFT = 2;
        public const uint SB_PAGERIGHT = 3;
        public const uint SB_PAGEUP = 2;
        public const uint SB_RIGHT = 7;
        public const uint SB_THUMBPOSITION = 4;
        public const uint SB_THUMBTRACK = 5;
        public const uint SB_TOP = 6;
        public const uint SB_VERT = 1;
        public const uint SCROLLINFO_SIZE = 0x1c;
        public const uint SIF_ALL = 0x17;
        public const uint SIF_DISABLENOSCROLL = 8;
        public const uint SIF_PAGE = 2;
        public const uint SIF_POS = 4;
        public const uint SIF_RANGE = 1;
        public const uint SIF_TRACKPOS = 0x10;
        public const int SM_CXHSCROLL = 0x15;
        public const int SM_CXHTHUMB = 10;
        public const int SM_CXVSCROLL = 2;
        public const int SM_CYHSCROLL = 3;
        public const int SM_CYVSCROLL = 20;
        public const int SM_CYVTHUMB = 9;
        public const int SW_FORCEMINIMIZE = 11;
        public const int SW_HIDE = 0;
        public const int SW_MAX = 11;
        public const int SW_MAXIMIZE = 3;
        public const int SW_MINIMIZE = 6;
        public const int SW_NORMAL = 1;
        public const int SW_RESTORE = 9;
        public const int SW_SHOW = 5;
        public const int SW_SHOWDEFAULT = 10;
        public const int SW_SHOWMAXIMIZED = 3;
        public const int SW_SHOWMINIMIZED = 2;
        public const int SW_SHOWMINNOACTIVE = 7;
        public const int SW_SHOWNA = 8;
        public const int SW_SHOWNOACTIVATE = 4;
        public const int SW_SHOWNORMAL = 1;
        public const int SWP_FRAMECHANGED = 0x20;
        public const int SWP_HIDEWINDOW = 0x80;
        public const int SWP_NOACTIVATE = 0x10;
        public const int SWP_NOMOVE = 2;
        public const int SWP_NOSIZE = 1;
        public const int SWP_NOZORDER = 4;
        public const int SWP_SHOWWINDOW = 0x40;
        public const int WM_CHAR = 0x102;
        public const int WM_COPY = 0x301;
        public const int WM_CUT = 0x300;
        public const int WM_DESTROY = 2;
        public const int WM_ERASEBKGND = 20;
        public const int WM_GETDLGCODE = 0x87;
        public const int WM_HSCROLL = 0x114;
        public const int WM_IME_ENDCOMPOSITION = 270;
        public const int WM_KEYDOWN = 0x100;
        public const int WM_KEYUP = 0x101;
        public const int WM_LBUTTONDOWN = 0x201;
        public const int WM_LBUTTONUP = 0x202;
        public const int WM_MOUSEMOVE = 0x200;
        public const int WM_NCCALCSIZE = 0x83;
        public const int WM_NCHITTEST = 0x84;
        public const int WM_NCLBUTTONDOWN = 0xa1;
        public const int WM_NCLBUTTONUP = 0xa2;
        public const int WM_NCPAINT = 0x85;
        public const int WM_PAINT = 15;
        public const int WM_PASTE = 770;
        public const int WM_SETTEXT = 12;
        public const int WM_SHOWWINDOW = 0x18;
        public const int WM_SIZE = 5;
        public const int WM_SIZING = 0x214;
        public const int WM_SYSCOMMAND = 0x112;
        public const int WM_USER = 0x400;
        public const int WM_VSCROLL = 0x115;
        public const int WM_WINDOWPOSCHANGED = 0x47;
        public const int WM_WINDOWPOSCHANGING = 70;
        public const uint WS_ACTIVECAPTION = 1;
        public const int WS_CHILDWINDOW = 0x40000000;
        public const int WS_CLIPCHILDREN = 0x2000000;
        public const int WS_CLIPSIBLINGS = 0x4000000;
        public const int WS_EX_LEFT = 0;
        public const int WS_EX_LEFTSCROLLBAR = 0x4000;
        public const int WS_EX_LTRREADING = 0;
        public const int WS_EX_NOPARENTNOTIFY = 4;
        public const int WS_EX_RIGHTSCROLLBAR = 0;
        public const int WS_EX_TOPMOST = 8;
        public const int WS_HSCROLL = 0x100000;
        public const int WS_MAXIMIZE = 0x1000000;
        public const int WS_MAXIMIZEBOX = 0x10000;
        public const int WS_MINIMIZE = 0x20000000;
        public const int WS_MINIMIZEBOX = 0x20000;
        public const int WS_VISIBLE = 0x10000000;
        public const int WS_VSCROLL = 0x200000;

        [DllImport("user32.dll")]
        public static extern IntPtr BeginDeferWindowPos(int nNumWindows);
        [DllImport("user32.dll")]
        public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, int nMsg, IntPtr wParam, IntPtr lParam);
        [DllImport("user32.dll")]
        public static extern bool ClientToScreen(IntPtr hWnd, ref POINT ptOut);
        [DllImport("GDI32.dll")]
        public static extern IntPtr CreateSolidBrush(int color);
        [DllImport("user32.dll", EntryPoint="CreateWindowExA")]
        public static extern IntPtr CreateWindowEx(uint dwExStyle, string lpClassName, string lpWindowName, uint dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam);
        [DllImport("user32.dll")]
        public static extern IntPtr DeferWindowPos(IntPtr hWinPosInfo, IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, int uFlags);
        [DllImport("user32.dll")]
        public static extern IntPtr DefWindowProc(IntPtr hWnd, int nMsg, IntPtr wParam, IntPtr lParam);
        [DllImport("GDI32.dll")]
        public static extern int DeleteObject(IntPtr hGdiObj);
        [DllImport("user32.dll")]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -