Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ff7961e1
Commit
ff7961e1
authored
Mar 30, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Implement AreDpiAwarenessContextsEqual().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d17ca871
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
sysparams.c
dlls/user32/sysparams.c
+9
-0
user32.spec
dlls/user32/user32.spec
+1
-0
winuser.h
include/winuser.h
+1
-0
No files found.
dlls/user32/sysparams.c
View file @
ff7961e1
...
...
@@ -2943,6 +2943,15 @@ BOOL WINAPI EnumDisplaySettingsExW(LPCWSTR lpszDeviceName, DWORD iModeNum,
}
/***********************************************************************
* AreDpiAwarenessContextsEqual (USER32.@)
*/
BOOL
WINAPI
AreDpiAwarenessContextsEqual
(
DPI_AWARENESS_CONTEXT
ctx1
,
DPI_AWARENESS_CONTEXT
ctx2
)
{
if
(
!
IsValidDpiAwarenessContext
(
ctx1
))
return
FALSE
;
return
ctx1
==
ctx2
;
}
/***********************************************************************
* GetAwarenessFromDpiAwarenessContext (USER32.@)
*/
DPI_AWARENESS
WINAPI
GetAwarenessFromDpiAwarenessContext
(
DPI_AWARENESS_CONTEXT
context
)
...
...
dlls/user32/user32.spec
View file @
ff7961e1
...
...
@@ -9,6 +9,7 @@
@ stdcall AnyPopup()
@ stdcall AppendMenuA(long long long ptr)
@ stdcall AppendMenuW(long long long ptr)
@ stdcall AreDpiAwarenessContextsEqual(long long)
@ stdcall ArrangeIconicWindows(long)
@ stdcall AttachThreadInput(long long long)
@ stdcall BeginDeferWindowPos(long)
...
...
include/winuser.h
View file @
ff7961e1
...
...
@@ -3393,6 +3393,7 @@ WINUSERAPI BOOL WINAPI AnyPopup(void);
WINUSERAPI
BOOL
WINAPI
AppendMenuA
(
HMENU
,
UINT
,
UINT_PTR
,
LPCSTR
);
WINUSERAPI
BOOL
WINAPI
AppendMenuW
(
HMENU
,
UINT
,
UINT_PTR
,
LPCWSTR
);
#define AppendMenu WINELIB_NAME_AW(AppendMenu)
WINUSERAPI
BOOL
WINAPI
AreDpiAwarenessContextsEqual
(
DPI_AWARENESS_CONTEXT
,
DPI_AWARENESS_CONTEXT
);
WINUSERAPI
UINT
WINAPI
ArrangeIconicWindows
(
HWND
);
WINUSERAPI
BOOL
WINAPI
AttachThreadInput
(
DWORD
,
DWORD
,
BOOL
);
WINUSERAPI
HDWP
WINAPI
BeginDeferWindowPos
(
INT
);
...
...
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