diff options
Diffstat (limited to 'alf/alfcompat.h')
| -rw-r--r-- | alf/alfcompat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alf/alfcompat.h b/alf/alfcompat.h index ba315e1..2d590c8 100644 --- a/alf/alfcompat.h +++ b/alf/alfcompat.h @@ -1,4 +1,5 @@ #include <windows.h> +#include <rpc.h> #ifndef WM_DPICHANGED #define WM_DPICHANGED 0x02E0 @@ -6,7 +7,7 @@ typedef LRESULT (CALLBACK *ALF_COMPAT_SUBCLASSPROC)(HWND,UINT,WPARAM,LPARAM,UINT_PTR,DWORD_PTR); typedef struct { - LRESULT (WINAPI *SetWindowSubclass)(HWND, ALF_COMPAT_SUBCLASSPROC, UINT_PTR, DWORD_PTR); + BOOL (WINAPI *SetWindowSubclass)(HWND, ALF_COMPAT_SUBCLASSPROC, UINT_PTR, DWORD_PTR); LRESULT (WINAPI *DefSubclassProc)(HWND, UINT, WPARAM, LPARAM); BOOL (WINAPI *RemoveWindowSubclass)(HWND, ALF_COMPAT_SUBCLASSPROC, UINT_PTR); int (WINAPI *GetSystemMetricsForDpi)(int, UINT); @@ -14,6 +15,7 @@ typedef struct { UINT (WINAPI *GetDpiForWindow)(HWND); BOOL (WINAPI *SystemParametersInfoForDpi)(UINT,UINT,PVOID,UINT,UINT); BOOL (WINAPI *AdjustWindowRectExForDpi)(LPRECT,DWORD,BOOL,DWORD,UINT); + ULONG (WINAPI *UuidCreate)(UUID *); } ALFCompatFunctions; |
