added missing constants
Modified: trunk/reactos/lib/devmgr/misc.c
Modified: trunk/reactos/w32api/include/ddk/cfg.h

Modified: trunk/reactos/lib/devmgr/misc.c
--- trunk/reactos/lib/devmgr/misc.c	2005-12-04 13:02:17 UTC (rev 19863)
+++ trunk/reactos/lib/devmgr/misc.c	2005-12-04 14:17:13 UTC (rev 19864)
@@ -401,7 +401,7 @@
 }
 
 
-static const UINT ProblemStringId[] =
+static const UINT ProblemStringId[NUM_CM_PROB] =
 {
     IDS_DEV_NO_PROBLEM,
     IDS_DEV_NOT_CONFIGURED,

Modified: trunk/reactos/w32api/include/ddk/cfg.h
--- trunk/reactos/w32api/include/ddk/cfg.h	2005-12-04 13:02:17 UTC (rev 19863)
+++ trunk/reactos/w32api/include/ddk/cfg.h	2005-12-04 14:17:13 UTC (rev 19864)
@@ -80,6 +80,8 @@
 #define CM_PROB_HELD_FOR_EJECT              0x0000002F
 #define CM_PROB_DRIVER_BLOCKED              0x00000030
 #define CM_PROB_REGISTRY_TOO_LARGE          0x00000031
+#define CM_PROB_SETPROPERTIES_FAILED        0x00000032
+#define NUM_CM_PROB                         0x00000033
 
 #define LCPRI_FORCECONFIG                 0x00000000
 #define LCPRI_BOOTCONFIG                  0x00000001