Joey Yandle dragon@dancingdragon.be wrote:
After looking over the code, I think I should just mmap() directly in wineserver rather than using MapViewOfFile; I should however still use MapViewOfFile in ntdll/thread.c.
Mr Google tells me that I can get a handle for MapViewOfFile by calling CreateFileMapping. The first arg of that is also a HANDLE, which I should be able to get by calling wine_server_fd_to_handle (as is done elsewhere in thread.c).
So I'm going to go ahead and try this now. If anyone has a issue with this approach, please let me know.
It's been explained several times already that any approach to share data between wineserver and clients is going to be rejected.