[PATCH] kernel32/tests: Use INVALID_HANDLE_VALUE instead of 0xffffffff
Alexandre Julliard
julliard at winehq.org
Mon Jan 10 04:30:07 CST 2022
Alex Henrie <alexhenrie24 at gmail.com> writes:
> There's no guarantee that 0xffffffff is an invalid handle on 64-bit.
It can't possibly be a valid module handle, though something like
0xdeadbeef may be preferable. Note also that INVALID_HANDLE_VALUE is for
file handles, not for modules.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list