[PATCH 5/6] wineoss: Use NtAllocateVirtualMemory() to alloc the buffers returned to the user.

Huw Davies huw at codeweavers.com
Tue Apr 12 03:49:13 CDT 2022


On Tue, Apr 12, 2022 at 09:53:23AM +0200, Fabian Maurer wrote:
> Hello Huw,
> 
> I'm curious, why do you need to get rid of kernel32 calls here? I saw
> something similar happen in winex11 where advapi32 calls can't be used, but I
> didn't understand the answer as to why... Is this the same here?

This code is moved to the unixlib in the next patch, which is rather like
the equivalent of the Windows kernel.  From there, in general,  user-space
calls are out.  That's also the same reason for the winex11 change.

Huw.



More information about the wine-devel mailing list