Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Torge Matthies
wine
Commits
ae45fa68
Commit
ae45fa68
authored
15 years ago
by
Hans Leidekker
Committed by
Alexandre Julliard
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
setupapi: Add stub implementations of CM_Get_Device_ID_ListW and CM_Enumerate_Classes.
parent
b0dcfa7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/setupapi/setupapi.spec
+3
-3
3 additions, 3 deletions
dlls/setupapi/setupapi.spec
dlls/setupapi/stubs.c
+24
-3
24 additions, 3 deletions
dlls/setupapi/stubs.c
with
27 additions
and
6 deletions
dlls/setupapi/setupapi.spec
+
3
−
3
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
...
...
This diff is collapsed.
Click to expand it.
dlls/setupapi/stubs.c
+
24
−
3
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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment