Closed lygstate closed 5 days ago
感谢您的PR。其实我有个疑问,为什么不直接处理SystemParametersInfoW?因为SystemParametersInfoForDpi的fallback也是通过调用SystemParametersInfoW完成的。只要Thunk SystemParametersInfoW修正那么SystemParametersInfoForDpi也将间接修复。
感谢您的PR。其实我有个疑问,为什么不直接处理SystemParametersInfoW?因为SystemParametersInfoForDpi的fallback也是通过调用SystemParametersInfoW完成的。只要Thunk SystemParametersInfoW修正那么SystemParametersInfoForDpi也将间接修复。
oh 因为我发现问题的地方是在这个函数,那我改下修正的地方, oh 发现了,是因为 SystemParametersInfoW 没有 Thunks
这是剩下的一个问题,当 dpi 为0,返回的内容都为0,并不是预期的
是的,不过这个问题本地已经修复了。但是还有其他问题……所以代码没有提交。
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: Yonggang Luo @.> Sent: Sunday, June 30, 2024 4:46:29 PM To: Chuyu-Team/YY-Thunks @.> Cc: mingkuang @.>; Comment @.> Subject: Re: [Chuyu-Team/YY-Thunks] Fixes SystemParametersInfoForDpi for Windows XP and 2000 (PR #104)
这是剩下的一个问题,当 dpi 为0,返回的内容都为0,并不是预期的
― Reply to this email directly, view it on GitHubhttps://github.com/Chuyu-Team/YY-Thunks/pull/104#issuecomment-2198484918, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEX7GZOTP6SCY2KRZLBDE2DZJ7AWLAVCNFSM6AAAAABKBKHWPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGQ4DIOJRHA. You are receiving this because you commented.Message ID: @.***>
uiParam should also decreased
https://github.com/Chuyu-Team/YY-Thunks/issues/90
修正
SystemParametersInfoW(A) SPI_GETNONCLIENTMETRICS,Windows XP需要主动减去 iPaddedBorderWidth