diff --git a/ExplorerPatcher/utility.h b/ExplorerPatcher/utility.h index f613087..5070649 100644 --- a/ExplorerPatcher/utility.h +++ b/ExplorerPatcher/utility.h @@ -36,42 +36,20 @@ #define WM_MSG_GUI_SECTION_GET 1 // This allows compiling with older Windows SDKs as well -#ifndef DWMWA_USE_HOSTBACKDROPBRUSH +#ifndef NTDDI_WIN10_CO #define DWMWA_USE_HOSTBACKDROPBRUSH 17 // [set] BOOL, Allows the use of host backdrop brushes for the window. -#endif -#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE #define DWMWA_USE_IMMERSIVE_DARK_MODE 20 // [set] BOOL, Allows a window to either use the accent color, or dark, according to the user Color Mode preferences. -#endif -#ifndef DWMWCP_DEFAULT +#define DWMWA_WINDOW_CORNER_PREFERENCE 33 // [set] WINDOW_CORNER_PREFERENCE, Controls the policy that rounds top-level window corners +#define DWMWA_BORDER_COLOR 34 // [set] COLORREF, The color of the thin border around a top-level window +#define DWMWA_CAPTION_COLOR 35 // [set] COLORREF, The color of the caption +#define DWMWA_TEXT_COLOR 36 // [set] COLORREF, The color of the caption text +#define DWMWA_VISIBLE_FRAME_BORDER_THICKNESS 37 // [get] UINT, width of the visible border around a thick frame window #define DWMWCP_DEFAULT 0 -#endif -#ifndef DWMWCP_DONOTROUND #define DWMWCP_DONOTROUND 1 -#endif -#ifndef DWMWCP_ROUND #define DWMWCP_ROUND 2 -#endif -#ifndef DWMWCP_ROUNDSMALL #define DWMWCP_ROUNDSMALL 3 #endif -#ifndef DWMWA_WINDOW_CORNER_PREFERENCE -#define DWMWA_WINDOW_CORNER_PREFERENCE 33 // [set] WINDOW_CORNER_PREFERENCE, Controls the policy that rounds top-level window corners -#endif -#ifndef DWMWA_BORDER_COLOR -#define DWMWA_BORDER_COLOR 34 // [set] COLORREF, The color of the thin border around a top-level window -#endif -#ifndef DWMWA_CAPTION_COLOR -#define DWMWA_CAPTION_COLOR 35 // [set] COLORREF, The color of the caption -#endif -#ifndef DWMWA_TEXT_COLOR -#define DWMWA_TEXT_COLOR 36 // [set] COLORREF, The color of the caption text -#endif -#ifndef DWMWA_VISIBLE_FRAME_BORDER_THICKNESS -#define DWMWA_VISIBLE_FRAME_BORDER_THICKNESS 37 // [get] UINT, width of the visible border around a thick frame window -#endif -#ifndef DWMWA_MICA_EFFFECT #define DWMWA_MICA_EFFFECT 1029 -#endif DEFINE_GUID(CLSID_ImmersiveShell, 0xc2f03a33,