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
79916de3
Commit
79916de3
authored
Mar 29, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add a stub for GetDpiForWindow().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ca878114
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 @
79916de3
...
...
@@ -2955,6 +2955,15 @@ UINT WINAPI GetDpiForSystem(void)
return
display_dpi
;
}
/***********************************************************************
* GetDpiForWindow (USER32.@)
*/
UINT
WINAPI
GetDpiForWindow
(
HWND
hwnd
)
{
FIXME
(
"stub: %p
\n
"
,
hwnd
);
return
GetDpiForSystem
();
}
/**********************************************************************
* SetThreadDpiAwarenessContext (USER32.@)
*/
...
...
dlls/user32/user32.spec
View file @
79916de3
...
...
@@ -293,6 +293,7 @@
@ stdcall GetDlgItemTextW(long long ptr long)
@ stdcall GetDoubleClickTime()
@ stdcall GetDpiForSystem()
@ stdcall GetDpiForWindow(long)
@ stdcall GetFocus()
@ stdcall GetForegroundWindow()
@ stdcall GetGestureConfig(long long long ptr ptr long)
...
...
include/winuser.h
View file @
79916de3
...
...
@@ -3675,6 +3675,7 @@ WINUSERAPI UINT WINAPI GetDlgItemTextA(HWND,INT,LPSTR,INT);
WINUSERAPI
UINT
WINAPI
GetDlgItemTextW
(
HWND
,
INT
,
LPWSTR
,
INT
);
#define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
WINUSERAPI
UINT
WINAPI
GetDoubleClickTime
(
void
);
WINUSERAPI
UINT
WINAPI
GetDpiForWindow
(
HWND
);
WINUSERAPI
UINT
WINAPI
GetDpiForSystem
(
void
);
WINUSERAPI
HWND
WINAPI
GetFocus
(
void
);
WINUSERAPI
HWND
WINAPI
GetForegroundWindow
(
void
);
...
...
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