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
9ac11e38
Commit
9ac11e38
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 SetupDiGetDeviceInfoListDetailA/W.
parent
b78736a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
18 deletions
+66
-18
devinst.c
dlls/setupapi/devinst.c
+66
-0
stubs.c
dlls/setupapi/stubs.c
+0
-18
No files found.
dlls/setupapi/devinst.c
View file @
9ac11e38
...
...
@@ -2103,6 +2103,72 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(
}
/***********************************************************************
* SetupDiGetDeviceInfoListDetailA (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailA
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVINFO_LIST_DETAIL_DATA_A
DevInfoData
)
{
struct
DeviceInfoSet
*
set
=
(
struct
DeviceInfoSet
*
)
DeviceInfoSet
;
TRACE
(
"%p %p
\n
"
,
DeviceInfoSet
,
DevInfoData
);
if
(
!
DeviceInfoSet
||
DeviceInfoSet
==
(
HDEVINFO
)
INVALID_HANDLE_VALUE
)
{
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
if
(
set
->
magic
!=
SETUP_DEVICE_INFO_SET_MAGIC
)
{
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
if
(
!
DevInfoData
||
DevInfoData
->
cbSize
!=
sizeof
(
SP_DEVINFO_LIST_DETAIL_DATA_A
))
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
memcpy
(
&
DevInfoData
->
ClassGuid
,
&
set
->
ClassGuid
,
sizeof
(
GUID
));
DevInfoData
->
RemoteMachineHandle
=
NULL
;
DevInfoData
->
RemoteMachineName
[
0
]
=
'\0'
;
return
TRUE
;
}
/***********************************************************************
* SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailW
(
HDEVINFO
DeviceInfoSet
,
PSP_DEVINFO_LIST_DETAIL_DATA_W
DevInfoData
)
{
struct
DeviceInfoSet
*
set
=
(
struct
DeviceInfoSet
*
)
DeviceInfoSet
;
TRACE
(
"%p %p
\n
"
,
DeviceInfoSet
,
DevInfoData
);
if
(
!
DeviceInfoSet
||
DeviceInfoSet
==
(
HDEVINFO
)
INVALID_HANDLE_VALUE
)
{
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
if
(
set
->
magic
!=
SETUP_DEVICE_INFO_SET_MAGIC
)
{
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
if
(
!
DevInfoData
||
DevInfoData
->
cbSize
!=
sizeof
(
SP_DEVINFO_LIST_DETAIL_DATA_W
))
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
memcpy
(
&
DevInfoData
->
ClassGuid
,
&
set
->
ClassGuid
,
sizeof
(
GUID
));
DevInfoData
->
RemoteMachineHandle
=
NULL
;
DevInfoData
->
RemoteMachineName
[
0
]
=
'\0'
;
return
TRUE
;
}
/***********************************************************************
* SetupDiCreateDeviceInterfaceA (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiCreateDeviceInterfaceA
(
...
...
dlls/setupapi/stubs.c
View file @
9ac11e38
...
...
@@ -50,24 +50,6 @@ DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
}
/***********************************************************************
* SetupDiGetDeviceInfoListDetailA (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailA
(
HDEVINFO
devinfo
,
PSP_DEVINFO_LIST_DETAIL_DATA_A
devinfo_data
)
{
FIXME
(
"
\n
"
);
return
FALSE
;
}
/***********************************************************************
* SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailW
(
HDEVINFO
devinfo
,
PSP_DEVINFO_LIST_DETAIL_DATA_W
devinfo_data
)
{
FIXME
(
"
\n
"
);
return
FALSE
;
}
/***********************************************************************
* (SETUPAPI.@)
*
* NO WINAPI in description given
...
...
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