CreateFile() fails with INVALID_HANDLE_VALUE, not NULL - this fixes GetLastError...
authorRoyce Mitchell III <royce3@ev1.net>
Sat, 17 Dec 2005 06:26:20 +0000 (06:26 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Sat, 17 Dec 2005 06:26:20 +0000 (06:26 +0000)
commit34880087131263925555ed1d9265c717865e75f9
treec422e9238ad07ed9a3efed0ef1543cddb0bc40c3
parent451a45a649b8971e05f85df0b64459c188d1c0c1
CreateFile() fails with INVALID_HANDLE_VALUE, not NULL - this fixes GetLastError() to more accurately point to the problem when diagnosing problems.

svn path=/trunk/; revision=20216
reactos/lib/user32/windows/bitmap.c