Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e45f8409
Commit
e45f8409
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: Implement SetupDiGetClassDevsW on top of SetupDiGetClassDevsExW.
parent
4e068741
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
23 deletions
+2
-23
devinst.c
dlls/setupapi/devinst.c
+2
-23
No files found.
dlls/setupapi/devinst.c
View file @
e45f8409
...
@@ -2061,29 +2061,8 @@ HDEVINFO WINAPI SetupDiGetClassDevsW(
...
@@ -2061,29 +2061,8 @@ HDEVINFO WINAPI SetupDiGetClassDevsW(
HWND
parent
,
HWND
parent
,
DWORD
flags
)
DWORD
flags
)
{
{
static
const
DWORD
unsupportedFlags
=
DIGCF_DEFAULT
|
DIGCF_PRESENT
|
return
SetupDiGetClassDevsExW
(
class
,
enumstr
,
parent
,
flags
,
NULL
,
NULL
,
DIGCF_PROFILE
;
NULL
);
HDEVINFO
set
;
TRACE
(
"%s %s %p 0x%08x
\n
"
,
debugstr_guid
(
class
),
debugstr_w
(
enumstr
),
parent
,
flags
);
if
(
!
(
flags
&
DIGCF_ALLCLASSES
)
&&
!
class
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
NULL
;
}
if
(
flags
&
unsupportedFlags
)
WARN
(
"unsupported flags %08x
\n
"
,
flags
&
unsupportedFlags
);
/* WinXP always succeeds, returns empty list for unknown classes */
set
=
SetupDiCreateDeviceInfoList
(
class
,
parent
);
if
(
set
)
{
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