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
4fae04b2
Commit
4fae04b2
authored
May 18, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix NdrConformantArrayMemorySize.
parent
c4fbad1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+9
-4
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
4fae04b2
...
...
@@ -2118,17 +2118,22 @@ unsigned long WINAPI NdrConformantArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
PFORMAT_STRING
pFormat
)
{
DWORD
size
=
0
,
esize
=
*
(
const
WORD
*
)(
pFormat
+
2
);
unsigned
char
*
buffer
;
unsigned
char
alignment
=
pFormat
[
1
]
+
1
;
TRACE
(
"(%p,%p)
\n
"
,
pStubMsg
,
pFormat
);
if
(
pFormat
[
0
]
!=
RPC_FC_CARRAY
)
FIXME
(
"format=%d
\n
"
,
pFormat
[
0
]);
buffer
=
pStubMsg
->
Buffer
;
pFormat
=
ReadConformance
(
pStubMsg
,
pFormat
+
4
);
pStubMsg
->
Buffer
=
buffer
;
size
=
pStubMsg
->
MaxCount
;
pStubMsg
->
MemorySize
+=
size
*
esize
;
return
size
*
esize
;
ALIGN_POINTER
(
pStubMsg
->
Buffer
,
alignment
);
pStubMsg
->
BufferMark
=
pStubMsg
->
Buffer
;
pStubMsg
->
Buffer
+=
size
*
esize
;
EmbeddedPointerMemorySize
(
pStubMsg
,
pFormat
);
return
pStubMsg
->
MemorySize
;
}
/***********************************************************************
...
...
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