From 57f8af8f422a0c4fecf35131180e74269481bf4d Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 4 Dec 2005 14:17:13 +0000 Subject: [PATCH] added missing constants svn path=/trunk/; revision=19864 --- reactos/lib/devmgr/misc.c | 2 +- reactos/w32api/include/ddk/cfg.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/lib/devmgr/misc.c b/reactos/lib/devmgr/misc.c index 93bbc4832ff..b3ad3b828a5 100644 --- a/reactos/lib/devmgr/misc.c +++ b/reactos/lib/devmgr/misc.c @@ -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, diff --git a/reactos/w32api/include/ddk/cfg.h b/reactos/w32api/include/ddk/cfg.h index 37e8fe64ae9..a15dfb3c82b 100644 --- a/reactos/w32api/include/ddk/cfg.h +++ b/reactos/w32api/include/ddk/cfg.h @@ -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