[Bug 16161] GetOverlappedResult called with NULL for lpNumberOfBytesTransferred

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 24 09:04:45 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=16161





--- Comment #4 from martinmnet <martinmnet at hotmail.com>  2008-11-24 09:04:44 ---
Sorry, Forgot the text.

Even though MS can be off on their documentation,
Normally, NULL as a parameter should not be used for any MS API unless MS
documentation read so.

For a quick test, you can use the server and client code on MS web site at
http://msdn.microsoft.com/en-us/library/aa365588(VS.85).aspx

Add flag FILE_FLAG_OVERLAPPED to the call to CreateNamedPipe

Make modifications in function InstanceThread:
Add variable 
OVERLAPPED ovl;
Change last params for ReadFile and WriteFile to &ovl
and add GetOverlappedResult with null param after the readfile, for example.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list