setupapi: SetupOpenInfFile returns INVALID_HANDLE_VALUE on failure, not NULL.
authorRob Shearman <rob@codeweavers.com>
Thu, 10 May 2007 13:25:39 +0000 (14:25 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 11 May 2007 09:20:04 +0000 (11:20 +0200)
commitc4eeb9f6fae56a6e85b847a03a78ec0e1fde01c3
tree3944dae7304bfe1f170a832d81a0a510785e03da
parent3ceaaae3d77f55bab7919f5d62fe552fd33937e1
setupapi: SetupOpenInfFile returns INVALID_HANDLE_VALUE on failure, not NULL.

Fix SetupQueryInfOriginalFileInformation to check for the former rather than the latter.
dlls/setupapi/query.c