1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

ntoskrnl/tests: Ignore CONFIGFLAG_FINISH_INSTALL on the child device.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53976
This commit is contained in:
Zebediah Figura 2022-12-12 17:23:32 -06:00 committed by Alexandre Julliard
parent 760788557c
commit 5e3e0a519d

View file

@ -36,6 +36,7 @@
#include "setupapi.h"
#include "cfgmgr32.h"
#include "newdev.h"
#include "regstr.h"
#include "dbt.h"
#include "initguid.h"
#include "devguid.h"
@ -1634,7 +1635,8 @@ static void test_pnp_devices(void)
ret = SetupDiGetDeviceRegistryPropertyA(set, &device, SPDRP_CONFIGFLAGS,
&type, (BYTE *)&dword, sizeof(dword), NULL);
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);
ret = SetupDiGetDeviceRegistryPropertyA(set, &device, SPDRP_DEVTYPE,