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
b0f85860
Commit
b0f85860
authored
Jun 10, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix handling of complex types of return values on the client side.
parent
1c632ffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
ndr_stubless.c
dlls/rpcrt4/ndr_stubless.c
+4
-8
No files found.
dlls/rpcrt4/ndr_stubless.c
View file @
b0f85860
...
...
@@ -332,11 +332,8 @@ static void client_do_args(PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat,
case
PROXY_UNMARSHAL
:
if
(
pParam
->
param_attributes
.
IsOut
)
{
if
(
pParam
->
param_attributes
.
IsReturn
)
call_unmarshaller
(
pStubMsg
,
&
pRetVal
,
pTypeFormat
,
0
);
else
call_unmarshaller
(
pStubMsg
,
&
pArg
,
pTypeFormat
,
0
);
TRACE
(
"pRetVal = %p
\n
"
,
pRetVal
);
if
(
pParam
->
param_attributes
.
IsReturn
)
pArg
=
pRetVal
;
call_unmarshaller
(
pStubMsg
,
&
pArg
,
pTypeFormat
,
0
);
}
break
;
default:
...
...
@@ -386,9 +383,8 @@ static void client_do_args(PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat,
case
PROXY_UNMARSHAL
:
if
(
pParam
->
param_attributes
.
IsOut
)
{
if
(
pParam
->
param_attributes
.
IsReturn
)
call_unmarshaller
(
pStubMsg
,
&
pRetVal
,
pTypeFormat
,
0
);
else
if
(
pParam
->
param_attributes
.
IsByValue
)
if
(
pParam
->
param_attributes
.
IsReturn
)
pArg
=
pRetVal
;
if
(
pParam
->
param_attributes
.
IsByValue
)
call_unmarshaller
(
pStubMsg
,
&
pArg
,
pTypeFormat
,
0
);
else
call_unmarshaller
(
pStubMsg
,
(
unsigned
char
**
)
pArg
,
pTypeFormat
,
0
);
...
...
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