[USETUP][SETUPLIB] Split the registry helper code.
[reactos.git] / base / setup / lib / errorcode.h
index 963e137..b440e4e 100644 (file)
@@ -7,7 +7,12 @@
 
 #pragma once
 
-typedef enum
+/* setupapi.h defines ERROR_NOT_INSTALLED with another meaning */
+#ifdef ERROR_NOT_INSTALLED
+#undef ERROR_NOT_INSTALLED
+#endif
+
+typedef enum _ERROR_NUMBER
 {
     NOT_AN_ERROR = 0,   // ERROR_SUCCESS,
     ERROR_NOT_INSTALLED,