Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
79d0c050
Commit
79d0c050
authored
Nov 21, 2023
by
Myah Caron
Committed by
Alexandre Julliard
Dec 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add SetDisplayAutoRotationPreferences stub.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55920
Signed-off-by:
Myah Caron
<
qsniyg@protonmail.com
>
parent
13928e08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
sysparams.c
dlls/user32/sysparams.c
+10
-1
user32.spec
dlls/user32/user32.spec
+1
-0
winuser.h
include/winuser.h
+1
-0
No files found.
dlls/user32/sysparams.c
View file @
79d0c050
...
...
@@ -920,7 +920,7 @@ BOOL WINAPI GetAutoRotationState( AR_STATE *state )
}
/**********************************************************************
* GetDisplayAutoRotationPreferences
[USER32.@]
* GetDisplayAutoRotationPreferences
(USER32.@)
*/
BOOL
WINAPI
GetDisplayAutoRotationPreferences
(
ORIENTATION_PREFERENCE
*
orientation
)
{
...
...
@@ -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 */
/***********************************************************************
...
...
dlls/user32/user32.spec
View file @
79d0c050
...
...
@@ -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)
...
...
include/winuser.h
View file @
79d0c050
...
...
@@ -4569,6 +4569,7 @@ WINUSERAPI HCURSOR WINAPI SetCursor(HCURSOR);
WINUSERAPI
BOOL
WINAPI
SetCursorPos
(
INT
,
INT
);
WINUSERAPI
VOID
WINAPI
SetDebugErrorLevel
(
DWORD
);
WINUSERAPI
BOOL
WINAPI
SetDeskWallPaper
(
LPCSTR
);
WINUSERAPI
BOOL
WINAPI
SetDisplayAutoRotationPreferences
(
ORIENTATION_PREFERENCE
);
WINUSERAPI
BOOL
WINAPI
SetDlgItemInt
(
HWND
,
INT
,
UINT
,
BOOL
);
WINUSERAPI
BOOL
WINAPI
SetDlgItemTextA
(
HWND
,
INT
,
LPCSTR
);
WINUSERAPI
BOOL
WINAPI
SetDlgItemTextW
(
HWND
,
INT
,
LPCWSTR
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment