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
ae45fa68
Commit
ae45fa68
authored
Aug 04, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Add stub implementations of CM_Get_Device_ID_ListW and CM_Enumerate_Classes.
parent
b0dcfa7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
setupapi.spec
dlls/setupapi/setupapi.spec
+3
-3
stubs.c
dlls/setupapi/stubs.c
+24
-3
No files found.
dlls/setupapi/setupapi.spec
View file @
ae45fa68
...
...
@@ -38,7 +38,7 @@
@ stub CM_Dup_Range_List
@ stub CM_Enable_DevNode
@ stub CM_Enable_DevNode_Ex
@ st
ub CM_Enumerate_Classes
@ st
dcall CM_Enumerate_Classes(long ptr long)
@ stub CM_Enumerate_Classes_Ex
@ stub CM_Enumerate_EnumeratorsA
@ stub CM_Enumerate_EnumeratorsW
...
...
@@ -75,8 +75,8 @@
@ stdcall CM_Get_Device_IDW(ptr ptr long long)
@ stub CM_Get_Device_ID_ExA
@ stub CM_Get_Device_ID_ExW
@ stdcall CM_Get_Device_ID_ListA(
p
tr ptr long long)
@ st
ub CM_Get_Device_ID_ListW
@ stdcall CM_Get_Device_ID_ListA(
s
tr ptr long long)
@ st
dcall CM_Get_Device_ID_ListW(wstr ptr long long)
@ stub CM_Get_Device_ID_List_ExA
@ stub CM_Get_Device_ID_List_ExW
@ stub CM_Get_Device_ID_List_SizeA
...
...
dlls/setupapi/stubs.c
View file @
ae45fa68
...
...
@@ -100,12 +100,24 @@ CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)
/***********************************************************************
* CM_Get_Device_ID_ListA (SETUPAPI.@)
*/
CONFIGRET
WINAPI
CM_Get_Device_ID_ListA
(
PCSTR
pszFilter
,
PCHAR
Buffer
,
ULONG
BufferLen
,
ULONG
ulFlags
)
{
FIXME
(
"%p %p %d %d
\n
"
,
pszFilter
,
Buffer
,
BufferLen
,
ulFlags
);
memset
(
Buffer
,
0
,
2
);
FIXME
(
"%s %p %d 0x%08x
\n
"
,
debugstr_a
(
pszFilter
),
Buffer
,
BufferLen
,
ulFlags
);
if
(
BufferLen
>=
2
)
Buffer
[
0
]
=
Buffer
[
1
]
=
0
;
return
CR_SUCCESS
;
}
/***********************************************************************
* CM_Get_Device_ID_ListW (SETUPAPI.@)
*/
CONFIGRET
WINAPI
CM_Get_Device_ID_ListW
(
PCWSTR
pszFilter
,
PWCHAR
Buffer
,
ULONG
BufferLen
,
ULONG
ulFlags
)
{
FIXME
(
"%s %p %d 0x%08x
\n
"
,
debugstr_w
(
pszFilter
),
Buffer
,
BufferLen
,
ulFlags
);
if
(
BufferLen
>=
2
)
Buffer
[
0
]
=
Buffer
[
1
]
=
0
;
return
CR_SUCCESS
;
}
...
...
@@ -305,3 +317,12 @@ CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExW(PULONG len, LPGUID class,
FIXME
(
"%p %p %s 0x%08x %p: stub
\n
"
,
len
,
class
,
debugstr_w
(
id
),
flags
,
machine
);
return
CR_FAILURE
;
}
/***********************************************************************
* CM_Enumerate_Classes (SETUPAPI.@)
*/
CONFIGRET
WINAPI
CM_Enumerate_Classes
(
ULONG
index
,
LPGUID
class
,
ULONG
flags
)
{
FIXME
(
"%u %p 0x%08x: stub
\n
"
,
index
,
class
,
flags
);
return
CR_NO_SUCH_VALUE
;
}
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