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
1bf73ea8
Commit
1bf73ea8
authored
Jun 26, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement IWbemServices::CreateInstanceEnum.
parent
21ea8b3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
services.c
dlls/wbemprox/services.c
+17
-3
No files found.
dlls/wbemprox/services.c
View file @
1bf73ea8
...
...
@@ -366,13 +366,27 @@ static HRESULT WINAPI wbem_services_DeleteInstanceAsync(
static
HRESULT
WINAPI
wbem_services_CreateInstanceEnum
(
IWbemServices
*
iface
,
const
BSTR
str
Filter
,
const
BSTR
str
Class
,
LONG
lFlags
,
IWbemContext
*
pCtx
,
IEnumWbemClassObject
**
ppEnum
)
{
FIXME
(
"
\n
"
);
return
WBEM_E_FAILED
;
static
const
WCHAR
selectW
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
0
};
WCHAR
*
query
;
HRESULT
hr
;
TRACE
(
"%p, %s, 0%08x, %p, %p
\n
"
,
iface
,
debugstr_w
(
strClass
),
lFlags
,
pCtx
,
ppEnum
);
if
(
lFlags
)
FIXME
(
"unsupported flags 0x%08x
\n
"
,
lFlags
);
if
(
!
(
query
=
heap_alloc
(
strlenW
(
strClass
)
*
sizeof
(
WCHAR
)
+
sizeof
(
selectW
)
)))
return
E_OUTOFMEMORY
;
strcpyW
(
query
,
selectW
);
strcatW
(
query
,
strClass
);
hr
=
exec_query
(
query
,
ppEnum
);
heap_free
(
query
);
return
hr
;
}
static
HRESULT
WINAPI
wbem_services_CreateInstanceEnumAsync
(
...
...
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