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
5cdfeeee
Commit
5cdfeeee
authored
May 13, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 15, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Make ComplexStructSize increment the buffer.
parent
3e988bfc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+6
-0
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
5cdfeeee
...
...
@@ -1778,22 +1778,28 @@ unsigned long WINAPI ComplexStructSize(PMIDL_STUB_MESSAGE pStubMsg,
case
RPC_FC_SHORT
:
case
RPC_FC_USHORT
:
size
+=
2
;
pStubMsg
->
Buffer
+=
2
;
break
;
case
RPC_FC_LONG
:
case
RPC_FC_ULONG
:
size
+=
4
;
pStubMsg
->
Buffer
+=
4
;
break
;
case
RPC_FC_POINTER
:
size
+=
4
;
pStubMsg
->
Buffer
+=
4
;
break
;
case
RPC_FC_ALIGNM4
:
ALIGN_LENGTH
(
size
,
4
);
ALIGN_POINTER
(
pStubMsg
->
Buffer
,
4
);
break
;
case
RPC_FC_ALIGNM8
:
ALIGN_LENGTH
(
size
,
8
);
ALIGN_POINTER
(
pStubMsg
->
Buffer
,
8
);
break
;
case
RPC_FC_STRUCTPAD2
:
size
+=
2
;
pStubMsg
->
Buffer
+=
2
;
break
;
case
RPC_FC_EMBEDDED_COMPLEX
:
size
+=
pFormat
[
1
];
...
...
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