summaryrefslogtreecommitdiff
path: root/alf/alfcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfcompat.h')
-rw-r--r--alf/alfcompat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/alf/alfcompat.h b/alf/alfcompat.h
index 8acdbc6..8f6b80f 100644
--- a/alf/alfcompat.h
+++ b/alf/alfcompat.h
@@ -86,6 +86,12 @@ typedef struct {
int cyBottomHeight;
} ALF_Compat_MARGINS;
+typedef enum {
+ ALF_Compat_DDC_DEFAULT,
+ ALF_Compat_DDC_DISABLE_ALL,
+ ALF_Compat_DDC_DISABLE_RESIZE,
+ ALF_Compat_DDC_DISABLE_CONTROL_RELAYOUT
+} ALF_Compat_DIALOG_DPI_CHANGE_BEHAVIORS;
#ifndef TMT_TRANSITIONDURATION
#define TMT_TRANSITIONDURATION 6000
@@ -141,6 +147,7 @@ extern HRESULT (WINAPI *ALF_Compat_LoadIconWithScaleDown)(HINSTANCE,PCWSTR,int,i
extern BOOL (WINAPI *ALF_Compat_GetMonitorInfoA)(HMONITOR,MONITORINFO *);
extern HMONITOR (WINAPI *ALF_Compat_MonitorFromPoint)(POINT,DWORD);
extern HMONITOR (WINAPI *ALF_Compat_MonitorFromWindow)(HWND,DWORD);
+extern BOOL (WINAPI *ALF_Compat_SetDialogDpiChangeBehavior)(HWND, ALF_Compat_DIALOG_DPI_CHANGE_BEHAVIORS, ALF_Compat_DIALOG_DPI_CHANGE_BEHAVIORS);
// compatibility bits