Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55920 Signed-off-by: Myah Caron qsniyg@protonmail.com
-- v2: user32: Add SetDisplayAutoRotationPreferences stub.
From: Myah Caron qsniyg@protonmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55920 Signed-off-by: Myah Caron qsniyg@protonmail.com --- dlls/user32/sysparams.c | 9 +++++++++ dlls/user32/user32.spec | 1 + 2 files changed, 10 insertions(+)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index 8f0afe51be3..c7c01a16d82 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -929,6 +929,15 @@ BOOL WINAPI GetDisplayAutoRotationPreferences( ORIENTATION_PREFERENCE *orientati return TRUE; }
+/********************************************************************** + * SetDisplayAutoRotationPreferences [USER32.@] + */ +BOOL WINAPI SetDisplayAutoRotationPreferences( ORIENTATION_PREFERENCE orientation ) +{ + FIXME("(%d): stub\n", orientation); + return TRUE; +} + /* physical<->logical mapping functions from win8 that are nops in later versions */
/*********************************************************************** diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index f6651c6c9e6..ecaeb075450 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -674,6 +674,7 @@ @ stdcall SetDeskWallPaper(str) # @ stub SetDeskWallpaper # @ stub SetDesktopBitmap +@ stdcall SetDisplayAutoRotationPreferences(long) @ stdcall SetDisplayConfig(long ptr long ptr long) @ stdcall SetDlgItemInt(long long long long) @ stdcall SetDlgItemTextA(long long str)
Please add the function signature to winuser.h