Zhiyi Zhang (@zhiyi) commented about dlls/ntdll/actctx.c:
> if (!RtlCreateActivationContext( &handle, &ctx )) process_actctx = check_actctx(handle);
>
> NtCurrentTeb()->Peb->ActivationContextData = process_actctx;
> +
> + if (!RtlQueryActivationContextApplicationSettings( 0, NULL, L"http://schemas.microsoft.com/SMI/2016/WindowsSettings",
Please test if activating the longPathAware manifest dynamically sets IsLongPathAwareProcess, or if it is just checked at process startup. MSDN says the LongPathsEnabled registry value is cached. However, it doesn't say if the manifest is cached. This could be a local test.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7540#note_106696