The last parameter of CreateFile should be 0 (aka NULL), not -1.
commit4b4f69ad3840eadcd14c26a7ed2a5d34bcee4ca3
authorFrançois Gouget <fgouget@codeweavers.com>
Tue, 9 Jan 2001 20:51:19 +0000 (9 20:51 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 9 Jan 2001 20:51:19 +0000 (9 20:51 +0000)
tree902e3eb471b52ac89fe8ba2cb883cb3be6bde4e8
parentabb8c07746a126fe23e493e16f789516001877d7
The last parameter of CreateFile should be 0 (aka NULL), not -1.
CreateFile returns INVALID_HANDLE_VALUE when it fails, not
HFILE_ERROR.
Added comments.
files/file.c