Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5e3e0a51
Commit
5e3e0a51
authored
Dec 12, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl/tests: Ignore CONFIGFLAG_FINISH_INSTALL on the child device.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53976
parent
76078855
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ntoskrnl.c
dlls/ntoskrnl.exe/tests/ntoskrnl.c
+3
-1
No files found.
dlls/ntoskrnl.exe/tests/ntoskrnl.c
View file @
5e3e0a51
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment