loader: Reserve and allocate SharedUserData.

Robert Shearman rob at codeweavers.com
Fri Dec 9 14:15:45 CST 2005


Vitaliy Margolen wrote:

>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).
>  
>

Ok, fair enough.

-- 
Rob Shearman




More information about the wine-devel mailing list