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
dc0e478d
Commit
dc0e478d
authored
Jun 28, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement IWbemServices::GetObject.
parent
8f0da0ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
services.c
dlls/wbemprox/services.c
+24
-2
No files found.
dlls/wbemprox/services.c
View file @
dc0e478d
...
...
@@ -239,8 +239,30 @@ static HRESULT WINAPI wbem_services_GetObject(
IWbemClassObject
**
ppObject
,
IWbemCallResult
**
ppCallResult
)
{
FIXME
(
"
\n
"
);
return
WBEM_E_FAILED
;
static
const
WCHAR
selectW
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
0
};
IEnumWbemClassObject
*
iter
;
WCHAR
*
query
;
HRESULT
hr
;
TRACE
(
"%p, %s, 0x%08x, %p, %p, %p
\n
"
,
iface
,
debugstr_w
(
strObjectPath
),
lFlags
,
pCtx
,
ppObject
,
ppCallResult
);
if
(
lFlags
)
FIXME
(
"unsupported flags 0x%08x
\n
"
,
lFlags
);
/* FIXME: parse path */
if
(
!
(
query
=
heap_alloc
(
strlenW
(
strObjectPath
)
*
sizeof
(
WCHAR
)
+
sizeof
(
selectW
)
)))
return
E_OUTOFMEMORY
;
strcpyW
(
query
,
selectW
);
strcatW
(
query
,
strObjectPath
);
hr
=
exec_query
(
query
,
&
iter
);
heap_free
(
query
);
if
(
hr
!=
S_OK
)
return
hr
;
hr
=
WbemClassObject_create
(
NULL
,
iter
,
0
,
(
void
**
)
ppObject
);
IEnumWbemClassObject_Release
(
iter
);
return
hr
;
}
static
HRESULT
WINAPI
wbem_services_GetObjectAsync
(
...
...
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