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
f7bf3876
Commit
f7bf3876
authored
Jan 11, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Both signature parameters are optional in IWbemClassObject::GetMethod.
parent
0f64ffd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
class.c
dlls/wbemprox/class.c
+12
-4
No files found.
dlls/wbemprox/class.c
View file @
f7bf3876
...
...
@@ -847,15 +847,23 @@ static HRESULT WINAPI class_object_GetMethod(
IWbemClassObject
**
ppOutSignature
)
{
struct
class_object
*
co
=
impl_from_IWbemClassObject
(
iface
);
IWbemClassObject
*
in
,
*
out
;
HRESULT
hr
;
TRACE
(
"%p, %s, %08x, %p, %p
\n
"
,
iface
,
debugstr_w
(
wszName
),
lFlags
,
ppInSignature
,
ppOutSignature
);
hr
=
create_signature
(
co
->
name
,
wszName
,
PARAM_IN
,
ppInSignature
);
if
(
hr
!=
S_OK
||
!
ppOutSignature
)
return
hr
;
hr
=
create_signature
(
co
->
name
,
wszName
,
PARAM_IN
,
&
in
);
if
(
hr
!=
S_OK
)
return
hr
;
hr
=
create_signature
(
co
->
name
,
wszName
,
PARAM_OUT
,
ppOutSignature
);
if
(
hr
!=
S_OK
)
IWbemClassObject_Release
(
*
ppInSignature
);
hr
=
create_signature
(
co
->
name
,
wszName
,
PARAM_OUT
,
&
out
);
if
(
hr
==
S_OK
)
{
if
(
ppInSignature
)
*
ppInSignature
=
in
;
else
IWbemClassObject_Release
(
in
);
if
(
ppOutSignature
)
*
ppOutSignature
=
out
;
else
IWbemClassObject_Release
(
out
);
}
else
IWbemClassObject_Release
(
in
);
return
hr
;
}
...
...
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