1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 02:53:29 +08:00
This commit is contained in:
2024-09-24 21:24:21 +08:00
parent 53ba10bb23
commit 9d5af1c340
10 changed files with 194 additions and 85 deletions

View File

@@ -64,7 +64,10 @@ public static class WinApi
public const int WM_ENABLE = 0x000A;
public const int WM_CLOSE = 0x0010;
public const int WM_QUIT = 0x0012;
public const int WM_SYSCOMMAND = 0x0112;
public const int WM_SIZING = 0x0214;
public const int WM_MOVING = 0x0216;
public const long SC_MOVE = 0xF010L;
#endregion
@@ -84,6 +87,8 @@ public static class WinApi
#endregion
#region Functions
public delegate IntPtr WndProc(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam);
[DllImport("user32", CharSet = CharSet.Unicode)]
@@ -129,6 +134,8 @@ public static class WinApi
[DllImport("user32", CharSet = CharSet.Unicode)]
public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, uint uMsg, IntPtr wParam, IntPtr lParam);
#endregion
#region GetLogicalProcessorInformation
[Flags]