Friday, December 9, 2005, 12:18:26 PM, Robert Shearman wrote: > Vitaliy Margolen wrote: >>+ /* Map SharedUserData */ >>+ NtAllocateVirtualMemory( NtCurrentProcess(), (PVOID)&SUD, 0, >>&size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); >> > Wouldn't it be better to use NtCreateSection/NtMapViewOfSection instead?
If we wanted to make it a real UserSharedData - sure. But we don't really want to. At least not right now. Also the problem would be a version information (that this structure is full of). Vitaliy.