From 6fd3ec8ecb13076ec4eab46553cbeae9c2fc1b9a Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Thu, 1 Dec 2005 23:14:30 +0000 Subject: [PATCH] fixed a device status check svn path=/trunk/; revision=19820 --- reactos/lib/devmgr/misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/devmgr/misc.c b/reactos/lib/devmgr/misc.c index 2492ff91aed..22bcc2cc1e8 100644 --- a/reactos/lib/devmgr/misc.c +++ b/reactos/lib/devmgr/misc.c @@ -452,12 +452,12 @@ GetDeviceStatusString(IN DEVINST DevInst, szBuffer[0] = L'\0'; if (ProblemNumber == 0) { - if (!(Status & DN_DRIVER_LOADED)) + if (!(Status & (DN_DRIVER_LOADED | DN_STARTED))) { MessageId = IDS_NODRIVERLOADED; } - goto UnknownProblem; + goto GeneralProblem; } else { @@ -487,7 +487,7 @@ GetDeviceStatusString(IN DEVINST DevInst, } else { -UnknownProblem: +GeneralProblem: if (LoadString(hDllInstance, MessageId, szBuffer,