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
4e068741
Commit
4e068741
authored
Sep 24, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Sep 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Partially implement SetupDiGetClassDevsExW.
parent
9ac11e38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
2 deletions
+30
-2
devinst.c
dlls/setupapi/devinst.c
+30
-2
No files found.
dlls/setupapi/devinst.c
View file @
4e068741
...
@@ -2098,8 +2098,36 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(
...
@@ -2098,8 +2098,36 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(
PCWSTR
machine
,
PCWSTR
machine
,
PVOID
reserved
)
PVOID
reserved
)
{
{
FIXME
(
"stub
\n
"
);
static
const
DWORD
unsupportedFlags
=
DIGCF_DEFAULT
|
DIGCF_PRESENT
|
return
NULL
;
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
;
}
}
/***********************************************************************
/***********************************************************************
...
...
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