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
b32a0eaa
Commit
b32a0eaa
authored
Nov 04, 2016
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Add SetupDiGetDevicePropertyW stub.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3155079e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
devinst.c
dlls/setupapi/devinst.c
+14
-0
setupapi.spec
dlls/setupapi/setupapi.spec
+1
-0
setupapi.h
include/setupapi.h
+4
-0
No files found.
dlls/setupapi/devinst.c
View file @
b32a0eaa
...
...
@@ -4143,3 +4143,17 @@ BOOL WINAPI SetupDiGetINFClassW(PCWSTR inf, LPGUID class_guid, PWSTR class_name,
return
(
have_guid
||
have_name
);
}
/***********************************************************************
* SetupDiGetDevicePropertyW (SETUPAPI.@)
*/
BOOL
WINAPI
SetupDiGetDevicePropertyW
(
HDEVINFO
info_set
,
PSP_DEVINFO_DATA
info_data
,
const
DEVPROPKEY
*
prop_key
,
DEVPROPTYPE
*
prop_type
,
BYTE
*
prop_buff
,
DWORD
prop_buff_size
,
DWORD
*
required_size
,
DWORD
flags
)
{
FIXME
(
"%p, %p, %p, %p, %p, %d, %p, 0x%08x stub
\n
"
,
info_set
,
info_data
,
prop_key
,
prop_type
,
prop_buff
,
prop_buff_size
,
required_size
,
flags
);
SetLastError
(
ERROR_NOT_FOUND
);
return
FALSE
;
}
dlls/setupapi/setupapi.spec
View file @
b32a0eaa
...
...
@@ -342,6 +342,7 @@
@ stub SetupDiGetDeviceInterfaceAlias
@ stdcall SetupDiGetDeviceInterfaceDetailA(long ptr ptr long ptr ptr)
@ stdcall SetupDiGetDeviceInterfaceDetailW(long ptr ptr long ptr ptr)
@ stdcall SetupDiGetDevicePropertyW(ptr ptr ptr ptr ptr long ptr long)
@ stdcall SetupDiGetDeviceRegistryPropertyA(long ptr long ptr ptr long ptr)
@ stdcall SetupDiGetDeviceRegistryPropertyW(long ptr long ptr ptr long ptr)
@ stub SetupDiGetDriverInfoDetailA
...
...
include/setupapi.h
View file @
b32a0eaa
...
...
@@ -1564,8 +1564,12 @@ BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(HDEVINFO, PSP_DEVICE_INTERFACE_
BOOL
WINAPI
SetupDiGetDeviceInterfaceDetailW
(
HDEVINFO
,
PSP_DEVICE_INTERFACE_DATA
,
PSP_DEVICE_INTERFACE_DETAIL_DATA_W
,
DWORD
,
PDWORD
,
PSP_DEVINFO_DATA
);
#define SetupDiGetDeviceInterfaceDetail WINELIB_NAME_AW(SetupDiGetDeviceInterfaceDetail)
BOOL
WINAPI
SetupDiGetDevicePropertyW
(
HDEVINFO
,
PSP_DEVINFO_DATA
,
const
DEVPROPKEY
*
,
DEVPROPTYPE
*
,
BYTE
*
,
DWORD
,
DWORD
*
,
DWORD
);
#define SetupDiGetDeviceProperty WINELIB_NAME_AW(SetupDiGetDeviceProperty)
/* note: A function doesn't exist */
BOOL
WINAPI
SetupDiGetDeviceRegistryPropertyA
(
HDEVINFO
,
PSP_DEVINFO_DATA
,
DWORD
,
PDWORD
,
PBYTE
,
DWORD
,
PDWORD
);
BOOL
WINAPI
SetupDiGetDeviceRegistryPropertyW
(
HDEVINFO
,
PSP_DEVINFO_DATA
,
DWORD
,
PDWORD
,
PBYTE
,
DWORD
,
PDWORD
);
#define SetupDiGetDeviceRegistryProperty WINELIB_NAME_AW(SetupDiGetDeviceRegistryProperty)
BOOL
WINAPI
SetupDiGetDriverInfoDetailA
(
HDEVINFO
,
PSP_DEVINFO_DATA
,
PSP_DRVINFO_DATA_A
,
PSP_DRVINFO_DETAIL_DATA_A
,
DWORD
,
PDWORD
);
BOOL
WINAPI
SetupDiGetDriverInfoDetailW
(
HDEVINFO
,
PSP_DEVINFO_DATA
,
PSP_DRVINFO_DATA_W
,
PSP_DRVINFO_DETAIL_DATA_W
,
DWORD
,
PDWORD
);
#define SetupDiGetDriverInfoDetail WINELIB_NAME_AW(SetupDiGetDriverInfoDetail)
...
...
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