[wininet] Always pass a variable as lpNumberOfBytesWritten on a WriteFile call if lpOverlapped is set to NULL (patch recreated against current HEAD)

Colin Finck mail at colinfinck.de
Wed Jun 18 17:18:21 CDT 2008


Changelog:
  Always pass a variable as lpNumberOfBytesWritten on a WriteFile call if
lpOverlapped is set to NULL.
  Wine currently makes no difference here, but under Windows, the
application will crash if both parameters are set to NULL.

  This behaviour was verified by a test application under Windows XP SP2.

Best regards,

Colin Finck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Always-pass-lpNumberOfBytesWritten-if-lpOverlapped-is-NULL.patch
Type: application/octet-stream
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080619/ef61f030/attachment.obj 


More information about the wine-patches mailing list