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
22bf1504
Commit
22bf1504
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: Implement NdrComplexStructMemorySize.
parent
cedbddbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+13
-3
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
22bf1504
...
...
@@ -1922,11 +1922,14 @@ void WINAPI NdrComplexStructBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
unsigned
long
WINAPI
NdrComplexStructMemorySize
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
)
{
/* unsigned size = *(LPWORD)(pFormat+2); */
unsigned
size
=
*
(
const
WORD
*
)(
pFormat
+
2
);
PFORMAT_STRING
conf_array
=
NULL
;
PFORMAT_STRING
pointer_desc
=
NULL
;
unsigned
long
saved_memory_size
;
FIXME
(
"(%p,%p): stub
\n
"
,
pStubMsg
,
pFormat
);
TRACE
(
"(%p,%p)
\n
"
,
pStubMsg
,
pFormat
);
ALIGN_POINTER
(
pStubMsg
->
Buffer
,
pFormat
[
1
]
+
1
);
pFormat
+=
4
;
if
(
*
(
const
WORD
*
)
pFormat
)
conf_array
=
pFormat
+
*
(
const
WORD
*
)
pFormat
;
...
...
@@ -1934,7 +1937,14 @@ unsigned long WINAPI NdrComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
if
(
*
(
const
WORD
*
)
pFormat
)
pointer_desc
=
pFormat
+
*
(
const
WORD
*
)
pFormat
;
pFormat
+=
2
;
return
0
;
saved_memory_size
=
pStubMsg
->
MemorySize
;
ComplexStructSize
(
pStubMsg
,
pFormat
);
pStubMsg
->
MemorySize
=
saved_memory_size
;
if
(
conf_array
)
NdrConformantArrayMemorySize
(
pStubMsg
,
conf_array
);
return
size
;
}
/***********************************************************************
...
...
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