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:
parent
760788557c
commit
5e3e0a519d
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue