Commit 5e3e0a51 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntoskrnl/tests: Ignore CONFIGFLAG_FINISH_INSTALL on the child device.

parent 76078855
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "setupapi.h" #include "setupapi.h"
#include "cfgmgr32.h" #include "cfgmgr32.h"
#include "newdev.h" #include "newdev.h"
#include "regstr.h"
#include "dbt.h" #include "dbt.h"
#include "initguid.h" #include "initguid.h"
#include "devguid.h" #include "devguid.h"
...@@ -1634,7 +1635,8 @@ static void test_pnp_devices(void) ...@@ -1634,7 +1635,8 @@ static void test_pnp_devices(void)
ret = SetupDiGetDeviceRegistryPropertyA(set, &device, SPDRP_CONFIGFLAGS, ret = SetupDiGetDeviceRegistryPropertyA(set, &device, SPDRP_CONFIGFLAGS,
&type, (BYTE *)&dword, sizeof(dword), NULL); &type, (BYTE *)&dword, sizeof(dword), NULL);
ok(ret, "got error %#lx\n", GetLastError()); ok(ret, "got error %#lx\n", GetLastError());
ok(!dword, "got flags %#lx\n", dword); /* windows 7 sets CONFIGFLAG_FINISH_INSTALL; it's not clear what this means */
ok(!(dword & ~CONFIGFLAG_FINISH_INSTALL), "got flags %#lx\n", dword);
ok(type == REG_DWORD, "got type %lu\n", type); ok(type == REG_DWORD, "got type %lu\n", type);
ret = SetupDiGetDeviceRegistryPropertyA(set, &device, SPDRP_DEVTYPE, ret = SetupDiGetDeviceRegistryPropertyA(set, &device, SPDRP_DEVTYPE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment