loader: Reserve and allocate SharedUserData.
Vitaliy Margolen
wine-devel at kievinfo.com
Fri Dec 9 14:11:38 CST 2005
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.
More information about the wine-devel
mailing list