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
7cbafd4f
Commit
7cbafd4f
authored
Oct 26, 2006
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Always call IRpcChannelBuffer_GetBuffer in the class factory stub.
parent
25d84175
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
oleproxy.c
dlls/ole32/oleproxy.c
+7
-7
No files found.
dlls/ole32/oleproxy.c
View file @
7cbafd4f
...
...
@@ -171,31 +171,31 @@ CFStub_Invoke(
}
hres
=
IClassFactory_CreateInstance
(
classfac
,
NULL
,
&
iid
,(
LPVOID
*
)
&
ppv
);
IClassFactory_Release
(
classfac
);
msg
->
cbBuffer
=
0
;
if
(
hres
)
{
msg
->
cbBuffer
=
0
;
FIXME
(
"Failed to create an instance of %s
\n
"
,
debugstr_guid
(
&
iid
));
return
hres
;
goto
getbuffer
;
}
hres
=
CreateStreamOnHGlobal
(
0
,
TRUE
,
&
pStm
);
if
(
hres
)
{
FIXME
(
"Failed to create stream on hglobal
\n
"
);
return
hres
;
goto
getbuffer
;
}
hres
=
CoMarshalInterface
(
pStm
,
&
iid
,
ppv
,
0
,
NULL
,
0
);
IUnknown_Release
((
IUnknown
*
)
ppv
);
if
(
hres
)
{
FIXME
(
"CoMarshalInterface failed, %x!
\n
"
,
hres
);
msg
->
cbBuffer
=
0
;
return
hres
;
FIXME
(
"CoMarshalInterface failed, %x!
\n
"
,
hres
);
goto
getbuffer
;
}
hres
=
IStream_Stat
(
pStm
,
&
ststg
,
0
);
if
(
hres
)
{
FIXME
(
"Stat failed.
\n
"
);
return
hres
;
goto
getbuffer
;
}
msg
->
cbBuffer
=
ststg
.
cbSize
.
u
.
LowPart
;
getbuffer:
IRpcChannelBuffer_GetBuffer
(
chanbuf
,
msg
,
&
IID_IClassFactory
);
if
(
hres
)
return
hres
;
...
...
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