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
6f7532cb
Commit
6f7532cb
authored
Jan 24, 2018
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jan 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shcore: Add SetProcessDpiAwareness stub.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4a4bf34f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
api-ms-win-shcore-scaling-l1-1-1.spec
...core-scaling-l1-1-1/api-ms-win-shcore-scaling-l1-1-1.spec
+1
-1
main.c
dlls/shcore/main.c
+6
-0
shcore.spec
dlls/shcore/shcore.spec
+1
-1
No files found.
dlls/api-ms-win-shcore-scaling-l1-1-1/api-ms-win-shcore-scaling-l1-1-1.spec
View file @
6f7532cb
...
...
@@ -5,5 +5,5 @@
@ stub RegisterScaleChangeEvent
@ stub RegisterScaleChangeNotifications
@ stub RevokeScaleChangeNotifications
@ st
ub
SetProcessDpiAwareness
@ st
dcall SetProcessDpiAwareness(long) shcore.
SetProcessDpiAwareness
@ stub UnregisterScaleChangeEvent
dlls/shcore/main.c
View file @
6f7532cb
...
...
@@ -51,6 +51,12 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val
return
S_OK
;
}
HRESULT
WINAPI
SetProcessDpiAwareness
(
PROCESS_DPI_AWARENESS
value
)
{
FIXME
(
"(%u): stub
\n
"
,
value
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
GetDpiForMonitor
(
HMONITOR
monitor
,
MONITOR_DPI_TYPE
type
,
UINT
*
x
,
UINT
*
y
)
{
HDC
hDC
;
...
...
dlls/shcore/shcore.spec
View file @
6f7532cb
...
...
@@ -78,7 +78,7 @@
@ stdcall SHUnicodeToAnsi(wstr ptr ptr) shlwapi.SHUnicodeToAnsi
@ stdcall SHUnicodeToUnicode(wstr ptr long) shlwapi.SHUnicodeToUnicode
@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr) shell32.SetCurrentProcessExplicitAppUserModelID
@ st
ub SetProcessDpiAwareness
@ st
dcall SetProcessDpiAwareness(long)
@ stub SetProcessReference
@ stub UnregisterScaleChangeEvent
...
...
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