Author: cwittich
Date: Tue Apr 21 02:59:31 2009
New Revision: 40618
URL:
http://svn.reactos.org/svn/reactos?rev=40618&view=rev
Log:
fix 7 setupapi misc winetests
Modified:
trunk/reactos/dll/win32/setupapi/install.c
Modified: trunk/reactos/dll/win32/setupapi/install.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/install…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] Tue Apr 21 02:59:31 2009
@@ -2228,8 +2228,8 @@
MyFree(SourceInfFileNameW);
MyFree(OEMSourceMediaLocationW);
MyFree(DestinationInfFileNameW);
-
TRACE("Returning %d\n", ret);
+ if (ret) SetLastError(ERROR_SUCCESS);
return ret;
}
@@ -2518,5 +2518,6 @@
}
TRACE("Returning %d\n", ret);
+ if (ret) SetLastError(ERROR_SUCCESS);
return ret;
}