diff options
Diffstat (limited to 'WarframeClock/Native.cs')
-rw-r--r-- | WarframeClock/Native.cs | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/WarframeClock/Native.cs b/WarframeClock/Native.cs index 560e06b..c83bac9 100644 --- a/WarframeClock/Native.cs +++ b/WarframeClock/Native.cs @@ -6,45 +6,18 @@ namespace WarframeClock class Native { [DllImport("user32.dll")] - 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 int DestroyWindow(IntPtr hwnd); - - [DllImport("user32.dll")] public static extern int SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, uint uFlags); [DllImport("user32.dll")] - public static extern int GetSystemMetrics(int index); - - [DllImport("user32.dll")] public static extern int IsWindow(IntPtr hWnd); [DllImport("user32.dll")] public static extern IntPtr GetForegroundWindow(); [DllImport("user32.dll")] - public static extern int ShowWindow(IntPtr hWnd, uint nCmdShow); - - [DllImport("user32.dll")] public static extern int GetWindowRect(IntPtr hwnd, out Rect lpRect); - [DllImport("user32.dll")] - public static extern bool SetLayeredWindowAttributes(IntPtr hwnd, uint crKey, byte bAlpha, uint dwFlags); - [StructLayout(LayoutKind.Sequential)] public struct Rect { @@ -53,17 +26,5 @@ namespace WarframeClock public int Right; public int Bottom; } - - [DllImport("dwmapi.dll")] - public static extern void DwmExtendFrameIntoClientArea(IntPtr hWnd, ref RawMargin pMargins); - - [StructLayout(LayoutKind.Sequential)] - public struct RawMargin - { - public int cxLeftWidth; - public int cxRightWidth; - public int cyTopHeight; - public int cyBottomHeight; - } } }
\ No newline at end of file |