[PATCH 1/2] server: Return a fake mapping with WineFakeDll flag set for a fake 16 bit dll.

Alexandre Julliard julliard at winehq.org
Thu Oct 14 14:42:42 CDT 2021


Oleh Nykyforchyn <oleh.nyk at gmail.com> writes:

> If fake 16 bit dll is found by create_mapping and status is set to
> STATUS_IMAGE_INVALID_WIN_16, do not release the mapping, but return it with
> WineFakeDll flag set to allow ntdll properly discover this dll by NtCreateSection
> and handle by find_dll_file.

That's very hackish. Besides, NtCreateSection is a public API, you can't
change its behavior like that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list