ntdll: a simple implementation of cross-process NtAllocateVirtualMemory

Alexandre Julliard julliard at winehq.org
Fri Jun 2 13:55:36 CDT 2006

"Dan Kegel" <dank at kegel.com> writes:

> On 6/2/06, Alexandre Julliard <julliard at winehq.org> wrote:
>> The problem here is that you don't control at what point you interrupt
>> the process, so you can't do anything in it except system calls, and
>> that won't be enough.
> Why isn't a call to mmap enough?

You need to build the proper structures on the client side, just like
a normal VirtualAlloc would, otherwise the process won't know about
that memory area.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list