Commit 8e11db9d authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

iexplore: Set process DPI settings to be system awareness.

iexplore.exe doesn't have DPI awareness settings in its manifest. However, tests show that it has at least per-monitor DPI awareness on Win10. Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 08eaf8f4
......@@ -68,6 +68,8 @@ static DWORD register_iexplore(BOOL doregister)
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE prev, WCHAR *cmdline, int show)
{
SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_SYSTEM_AWARE);
if(*cmdline == '-' || *cmdline == '/') {
if(!wcsicmp(cmdline+1, L"regserver"))
return register_iexplore(TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment