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
1e4db62e
Commit
1e4db62e
authored
Nov 24, 2023
by
Paul Gofman
Committed by
Alexandre Julliard
Nov 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Add stubs for SetupDiGetCustomDeviceProperty{A|W}().
parent
b13e7ba7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
devinst.c
dlls/setupapi/devinst.c
+20
-0
setupapi.spec
dlls/setupapi/setupapi.spec
+2
-0
No files found.
dlls/setupapi/devinst.c
View file @
1e4db62e
...
...
@@ -5288,3 +5288,23 @@ BOOL WINAPI SetupDiInstallDevice(HDEVINFO devinfo, SP_DEVINFO_DATA *device_data)
return
TRUE
;
}
BOOL
WINAPI
SetupDiGetCustomDevicePropertyA
(
HDEVINFO
devinfo
,
SP_DEVINFO_DATA
*
data
,
const
char
*
name
,
DWORD
flags
,
DWORD
*
reg_type
,
BYTE
*
buffer
,
DWORD
bufsize
,
DWORD
*
required
)
{
FIXME
(
"devinfo %p, data %p, name %s, flags %#lx, reg_type %p, buffer %p, bufsize %lu, required %p stub.
\n
"
,
devinfo
,
data
,
debugstr_a
(
name
),
flags
,
reg_type
,
buffer
,
bufsize
,
required
);
SetLastError
(
ERROR_INVALID_DATA
);
return
FALSE
;
}
BOOL
WINAPI
SetupDiGetCustomDevicePropertyW
(
HDEVINFO
devinfo
,
SP_DEVINFO_DATA
*
data
,
const
WCHAR
*
name
,
DWORD
flags
,
DWORD
*
reg_type
,
BYTE
*
buffer
,
DWORD
bufsize
,
DWORD
*
required
)
{
FIXME
(
"devinfo %p, data %p, name %s, flags %#lx, reg_type %p, buffer %p, bufsize %lu, required %p stub.
\n
"
,
devinfo
,
data
,
debugstr_w
(
name
),
flags
,
reg_type
,
buffer
,
bufsize
,
required
);
SetLastError
(
ERROR_INVALID_DATA
);
return
FALSE
;
}
dlls/setupapi/setupapi.spec
View file @
1e4db62e
...
...
@@ -337,6 +337,8 @@
@ stub SetupDiGetClassInstallParamsA
@ stub SetupDiGetClassInstallParamsW
@ stdcall SetupDiGetClassRegistryPropertyW(ptr long ptr ptr long ptr wstr ptr)
@ stdcall SetupDiGetCustomDevicePropertyA(ptr ptr str long ptr ptr long ptr)
@ stdcall SetupDiGetCustomDevicePropertyW(ptr ptr wstr long ptr ptr long ptr)
@ stub SetupDiGetDeviceInfoListClass
@ stdcall SetupDiGetDeviceInfoListDetailA(ptr ptr)
@ stdcall SetupDiGetDeviceInfoListDetailW(ptr ptr)
...
...
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