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
5d7156f1
Commit
5d7156f1
authored
Oct 24, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shcore: Avoid implicit enum casts.
parent
c254ff8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.c
dlls/shcore/main.c
+1
-1
No files found.
dlls/shcore/main.c
View file @
5d7156f1
...
@@ -67,7 +67,7 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val
...
@@ -67,7 +67,7 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val
HRESULT
WINAPI
SetProcessDpiAwareness
(
PROCESS_DPI_AWARENESS
value
)
HRESULT
WINAPI
SetProcessDpiAwareness
(
PROCESS_DPI_AWARENESS
value
)
{
{
if
(
SetProcessDpiAwarenessInternal
(
value
))
return
S_OK
;
if
(
SetProcessDpiAwarenessInternal
(
(
DPI_AWARENESS
)
value
))
return
S_OK
;
return
HRESULT_FROM_WIN32
(
GetLastError
()
);
return
HRESULT_FROM_WIN32
(
GetLastError
()
);
}
}
...
...
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