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
44d6e39c
Commit
44d6e39c
authored
Aug 29, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Aug 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make typelib marshaler use IRpcChannelBuffer::GetBuffer if possible.
parent
80c31a9c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
3 deletions
+27
-3
tmarshal.c
dlls/oleaut32/tmarshal.c
+27
-3
No files found.
dlls/oleaut32/tmarshal.c
View file @
44d6e39c
...
...
@@ -2214,11 +2214,34 @@ afterserialize:
return
hres
;
ITypeInfo_Release
(
tinfo
);
HeapFree
(
GetProcessHeap
(),
0
,
args
);
xmsg
->
cbBuffer
=
buf
.
curoff
;
I_RpcGetBuffer
((
RPC_MESSAGE
*
)
xmsg
);
if
(
rpcchanbuf
)
{
hres
=
IRpcChannelBuffer_GetBuffer
(
rpcchanbuf
,
xmsg
,
&
This
->
iid
);
if
(
hres
!=
S_OK
)
ERR
(
"IRpcChannelBuffer_GetBuffer failed with error 0x%08lx
\n
"
,
hres
);
}
else
{
/* FIXME: remove this case when we start sending an IRpcChannelBuffer
* object with builtin OLE */
RPC_STATUS
status
=
I_RpcGetBuffer
((
RPC_MESSAGE
*
)
xmsg
);
if
(
status
!=
RPC_S_OK
)
{
ERR
(
"I_RpcGetBuffer failed with error %ld
\n
"
,
status
);
hres
=
E_FAIL
;
}
}
if
(
hres
==
S_OK
)
memcpy
(
xmsg
->
Buffer
,
buf
.
base
,
buf
.
curoff
);
HeapFree
(
GetProcessHeap
(),
0
,
args
);
return
S_OK
;
HeapFree
(
GetProcessHeap
(),
0
,
buf
.
base
);
TRACE
(
"returning
\n
"
);
return
hres
;
}
static
LPRPCSTUBBUFFER
WINAPI
...
...
@@ -2231,6 +2254,7 @@ static ULONG WINAPI
TMStubImpl_CountRefs
(
LPRPCSTUBBUFFER
iface
)
{
TMStubImpl
*
This
=
(
TMStubImpl
*
)
iface
;
FIXME
(
"()
\n
"
);
return
This
->
ref
;
/*FIXME? */
}
...
...
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