Sebastian Lackner sebastian@fds-team.de writes:
I don't think write_process_memory is the right way to do it. This function also has a lot of overhead, like suspending the thread, or if /proc is not available reading/writing is done in chunks of sizeof(long). I'm pretty sure it would be faster to just transfer back the result with the same wineserver call. Also please note that the client side already adds a reply buffer, so the changes would mostly be on the server side.
Agreed. write_process_memory has many issues, and should only be used for debugging APIs. We don't want to make it a required part of the server protocol.