[Wine] Function ReadFileEx in Wine

Berillions wineforum-user at winehq.org
Wed Apr 25 13:27:49 CDT 2012


Hi,
I would like to know if this function is completely implement in Wine because since the release of new Ubisoft's games, there is a problem to launch correctly the game.

The error message is :
Code:
 2011-12-21 22:04:31 [  97] [ERROR ] NamedPipeReceiveLoop.cpp (74) : ReadFileEx failed, error = 997.



On Microsoft msdn website, this error (997 = ERROR_IO_PENDING) means that an operation I/O overlapped (or asynchronous) is in progress. See here : http://msdn.microsoft.com/en-us/library/windows/desktop/ms681388%28v=vs.85%29.aspx

I quote a text from this page http://msdn.microsoft.com/en-us/library/windows/desktop/ms686358%28v=vs.85%29.aspx:

> When a function is called to perform an overlapped operation, the operation might be completed before the function returns. When this happens, the results are handled as if the operation had been performed synchronously. If the operation was not completed, however, the function's return value is FALSE, and the GetLastError function returns ERROR_IO_PENDING.


It's clear and easy to understand the text but it's difficult to apply this in Wine ?

Thanks







More information about the wine-users mailing list