added missing constants
authorThomas Bluemel <thomas@reactsoft.com>
Sun, 4 Dec 2005 14:17:13 +0000 (14:17 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Sun, 4 Dec 2005 14:17:13 +0000 (14:17 +0000)
svn path=/trunk/; revision=19864

reactos/lib/devmgr/misc.c
reactos/w32api/include/ddk/cfg.h

index 93bbc48..b3ad3b8 100644 (file)
@@ -401,7 +401,7 @@ GetDeviceLocationString(IN DEVINST dnDevInst  OPTIONAL,
 }
 
 
-static const UINT ProblemStringId[] =
+static const UINT ProblemStringId[NUM_CM_PROB] =
 {
     IDS_DEV_NO_PROBLEM,
     IDS_DEV_NOT_CONFIGURED,
index 37e8fe6..a15dfb3 100644 (file)
@@ -80,6 +80,8 @@ extern "C" {
 #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