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
9bd51fff
Commit
9bd51fff
authored
Feb 19, 2020
by
Sven Baars
Committed by
Alexandre Julliard
Feb 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add EnableNonClientDpiScaling stub.
Signed-off-by:
Sven Baars
<
sbaars@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d480436d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
sysparams.c
dlls/user32/sysparams.c
+10
-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 @
9bd51fff
...
...
@@ -3664,6 +3664,16 @@ BOOL WINAPI IsProcessDPIAware(void)
return
GetAwarenessFromDpiAwarenessContext
(
GetThreadDpiAwarenessContext
()
)
!=
DPI_AWARENESS_UNAWARE
;
}
/**********************************************************************
* EnableNonClientDpiScaling (USER32.@)
*/
BOOL
WINAPI
EnableNonClientDpiScaling
(
HWND
hwnd
)
{
FIXME
(
"(%p): stub
\n
"
,
hwnd
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* GetDpiForSystem (USER32.@)
*/
...
...
dlls/user32/user32.spec
View file @
9bd51fff
...
...
@@ -205,6 +205,7 @@
@ stdcall EmptyClipboard()
@ stdcall EnableMenuItem(long long long)
@ stdcall EnableMouseInPointer(long)
@ stdcall EnableNonClientDpiScaling(long)
@ stdcall EnableScrollBar(long long long)
@ stdcall EnableWindow(long long)
@ stdcall EndDeferWindowPos(long)
...
...
include/winuser.h
View file @
9bd51fff
...
...
@@ -3702,6 +3702,7 @@ WINUSERAPI INT WINAPI DrawTextExW(HDC,LPWSTR,INT,LPRECT,UINT,LPDRAWTEXTP
WINUSERAPI
BOOL
WINAPI
EmptyClipboard
(
void
);
WINUSERAPI
BOOL
WINAPI
EnableMenuItem
(
HMENU
,
UINT
,
UINT
);
WINUSERAPI
BOOL
WINAPI
EnableMouseInPointer
(
BOOL
);
WINUSERAPI
BOOL
WINAPI
EnableNonClientDpiScaling
(
HWND
);
WINUSERAPI
BOOL
WINAPI
EnableScrollBar
(
HWND
,
UINT
,
UINT
);
WINUSERAPI
BOOL
WINAPI
EnableWindow
(
HWND
,
BOOL
);
WINUSERAPI
BOOL
WINAPI
EndDeferWindowPos
(
HDWP
);
...
...
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