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
c3918f2a
Commit
c3918f2a
authored
Feb 01, 2024
by
Louis Lenders
Committed by
Alexandre Julliard
Feb 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shcore: Add stub for RegisterScaleChangeNotifications.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56244
parent
68ab4c48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
main.c
dlls/shcore/main.c
+12
-0
shcore.spec
dlls/shcore/shcore.spec
+1
-1
shellscalingapi.h
include/shellscalingapi.h
+1
-0
No files found.
dlls/shcore/main.c
View file @
c3918f2a
...
@@ -2532,6 +2532,18 @@ HRESULT WINAPI RegisterScaleChangeEvent(HANDLE handle, DWORD_PTR *cookie)
...
@@ -2532,6 +2532,18 @@ HRESULT WINAPI RegisterScaleChangeEvent(HANDLE handle, DWORD_PTR *cookie)
}
}
/*************************************************************************
/*************************************************************************
* RegisterScaleChangeNotifications [SHCORE.@]
*/
HRESULT
WINAPI
RegisterScaleChangeNotifications
(
DISPLAY_DEVICE_TYPE
display_device
,
HWND
hwnd
,
UINT
msg
,
DWORD
*
cookie
)
{
FIXME
(
"(%d, %p, %u, %p) stub
\n
"
,
display_device
,
hwnd
,
msg
,
cookie
);
if
(
cookie
)
*
cookie
=
0
;
return
E_NOTIMPL
;
}
/*************************************************************************
* CreateRandomAccessStreamOverStream [SHCORE.@]
* CreateRandomAccessStreamOverStream [SHCORE.@]
*/
*/
HRESULT
WINAPI
CreateRandomAccessStreamOverStream
(
IStream
*
stream
,
BSOS_OPTIONS
options
,
REFIID
riid
,
void
**
ppv
)
HRESULT
WINAPI
CreateRandomAccessStreamOverStream
(
IStream
*
stream
,
BSOS_OPTIONS
options
,
REFIID
riid
,
void
**
ppv
)
...
...
dlls/shcore/shcore.spec
View file @
c3918f2a
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
# @ stub RecordFeatureError
# @ stub RecordFeatureError
# @ stub RecordFeatureUsage
# @ stub RecordFeatureUsage
@ stdcall RegisterScaleChangeEvent(ptr ptr)
@ stdcall RegisterScaleChangeEvent(ptr ptr)
@ st
ub RegisterScaleChangeNotifications
@ st
dcall RegisterScaleChangeNotifications(long ptr long ptr)
@ stub RevokeScaleChangeNotifications
@ stub RevokeScaleChangeNotifications
@ stdcall SHAnsiToAnsi(str ptr long)
@ stdcall SHAnsiToAnsi(str ptr long)
@ stdcall SHAnsiToUnicode(str ptr long)
@ stdcall SHAnsiToUnicode(str ptr long)
...
...
include/shellscalingapi.h
View file @
c3918f2a
...
@@ -46,6 +46,7 @@ HRESULT WINAPI GetDpiForMonitor(HMONITOR,MONITOR_DPI_TYPE,UINT*,UINT*);
...
@@ -46,6 +46,7 @@ HRESULT WINAPI GetDpiForMonitor(HMONITOR,MONITOR_DPI_TYPE,UINT*,UINT*);
HRESULT
WINAPI
GetProcessDpiAwareness
(
HANDLE
,
PROCESS_DPI_AWARENESS
*
);
HRESULT
WINAPI
GetProcessDpiAwareness
(
HANDLE
,
PROCESS_DPI_AWARENESS
*
);
DEVICE_SCALE_FACTOR
WINAPI
GetScaleFactorForDevice
(
DISPLAY_DEVICE_TYPE
device_type
);
DEVICE_SCALE_FACTOR
WINAPI
GetScaleFactorForDevice
(
DISPLAY_DEVICE_TYPE
device_type
);
HRESULT
WINAPI
GetScaleFactorForMonitor
(
HMONITOR
,
DEVICE_SCALE_FACTOR
*
);
HRESULT
WINAPI
GetScaleFactorForMonitor
(
HMONITOR
,
DEVICE_SCALE_FACTOR
*
);
HRESULT
WINAPI
RegisterScaleChangeNotifications
(
DISPLAY_DEVICE_TYPE
,
HWND
,
UINT
,
DWORD
*
);
HRESULT
WINAPI
SetProcessDpiAwareness
(
PROCESS_DPI_AWARENESS
);
HRESULT
WINAPI
SetProcessDpiAwareness
(
PROCESS_DPI_AWARENESS
);
#endif
/* __WINE_SHELLSCALINGAPI_H */
#endif
/* __WINE_SHELLSCALINGAPI_H */
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