Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Mayr
wine
Commits
4e068741
Commit
4e068741
authored
17 years ago
by
Juan Lang
Committed by
Alexandre Julliard
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
setupapi: Partially implement SetupDiGetClassDevsExW.
parent
9ac11e38
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/setupapi/devinst.c
+30
-2
30 additions, 2 deletions
dlls/setupapi/devinst.c
with
30 additions
and
2 deletions
dlls/setupapi/devinst.c
+
30
−
2
View file @
4e068741
...
...
@@ -2098,8 +2098,36 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(
PCWSTR
machine
,
PVOID
reserved
)
{
FIXME
(
"stub
\n
"
);
return
NULL
;
static
const
DWORD
unsupportedFlags
=
DIGCF_DEFAULT
|
DIGCF_PRESENT
|
DIGCF_PROFILE
;
HDEVINFO
set
;
TRACE
(
"%s %s %p 0x%08x %p %s %p
\n
"
,
debugstr_guid
(
class
),
debugstr_w
(
enumstr
),
parent
,
flags
,
deviceset
,
debugstr_w
(
machine
),
reserved
);
if
(
!
(
flags
&
DIGCF_ALLCLASSES
)
&&
!
class
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
NULL
;
}
if
(
flags
&
unsupportedFlags
)
WARN
(
"unsupported flags %08x
\n
"
,
flags
&
unsupportedFlags
);
if
(
deviceset
)
set
=
deviceset
;
else
set
=
SetupDiCreateDeviceInfoListExW
(
class
,
parent
,
machine
,
reserved
);
if
(
set
)
{
if
(
machine
)
FIXME
(
"%s: unimplemented for remote machines
\n
"
,
debugstr_w
(
machine
));
else
if
(
flags
&
DIGCF_DEVICEINTERFACE
)
SETUPDI_EnumerateInterfaces
(
set
,
class
,
enumstr
,
flags
);
else
SETUPDI_EnumerateDevices
(
set
,
class
,
enumstr
,
flags
);
}
return
set
;
}
/***********************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment