Zhiyi Zhang (@zhiyi) commented about dlls/user32/sysparams.c:
else SetProcessDpiAwarenessContext( DPI_AWARENESS_CONTEXT_UNAWARE ); }
- else if (QueryActCtxSettingsW( 0, NULL, L"http://schemas.microsoft.com/SMI/2016/WindowsSettings",
L"longPathAware", buffer, ARRAY_SIZE(buffer), NULL ))- {
TRACE( "got longPathAware=%s\n", debugstr_w(buffer) );if (!wcsicmp( buffer, L"true" )){RtlGetCurrentPeb()->IsLongPathAwareProcess = 1;
I doubt user32 sets IsLongPathAwareProcess. It should be kernelbase/kernel32/ntdll because CLI applications don't load user32.