On 12/29/20 17:01, Zhiyi Zhang wrote:
On 12/29/20 9:39 PM, Paul Gofman wrote:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50420 Signed-off-by: Paul Gofman pgofman@codeweavers.com
dlls/user32/sysparams.c | 12 ++++++++++++ dlls/user32/user32.spec | 1 + 2 files changed, 13 insertions(+)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index a620116053a..d9c383ba36f 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -4794,3 +4794,15 @@ LONG WINAPI DisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_HEADER *packet) return ERROR_INVALID_PARAMETER; } }
+/***********************************************************************
SetDisplayConfig (USER32.@)
- */
+LONG SetDisplayConfig(UINT32 path_info_count, DISPLAYCONFIG_PATH_INFO *path_info, UINT32 mode_info_count,
DISPLAYCONFIG_MODE_INFO *mode_info, UINT32 flags)
+{
Hi Paul,
I think you forgot to add WINAPI to the function declaration and dump 'flags'.
Thanks, Zhiyi
Oh yeah, indeed, thanks.