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
dcd0a39d
Commit
dcd0a39d
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 NdrBaseTypeMemorySize increment the buffer and memory size fields…
rpcrt4: Make NdrBaseTypeMemorySize increment the buffer and memory size fields of MIDL_STUB_MESSAGE.
parent
4d65110b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+16
-0
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
dcd0a39d
...
...
@@ -3553,24 +3553,40 @@ static unsigned long WINAPI NdrBaseTypeMemorySize(
case
RPC_FC_CHAR
:
case
RPC_FC_SMALL
:
case
RPC_FC_USMALL
:
pStubMsg
->
Buffer
+=
sizeof
(
UCHAR
);
pStubMsg
->
MemorySize
+=
sizeof
(
UCHAR
);
return
sizeof
(
UCHAR
);
case
RPC_FC_WCHAR
:
case
RPC_FC_SHORT
:
case
RPC_FC_USHORT
:
pStubMsg
->
Buffer
+=
sizeof
(
USHORT
);
pStubMsg
->
MemorySize
+=
sizeof
(
USHORT
);
return
sizeof
(
USHORT
);
case
RPC_FC_LONG
:
case
RPC_FC_ULONG
:
pStubMsg
->
Buffer
+=
sizeof
(
ULONG
);
pStubMsg
->
MemorySize
+=
sizeof
(
ULONG
);
return
sizeof
(
ULONG
);
case
RPC_FC_FLOAT
:
pStubMsg
->
Buffer
+=
sizeof
(
float
);
pStubMsg
->
MemorySize
+=
sizeof
(
float
);
return
sizeof
(
float
);
case
RPC_FC_DOUBLE
:
pStubMsg
->
Buffer
+=
sizeof
(
double
);
pStubMsg
->
MemorySize
+=
sizeof
(
double
);
return
sizeof
(
double
);
case
RPC_FC_HYPER
:
pStubMsg
->
Buffer
+=
sizeof
(
ULONGLONG
);
pStubMsg
->
MemorySize
+=
sizeof
(
ULONGLONG
);
return
sizeof
(
ULONGLONG
);
case
RPC_FC_ERROR_STATUS_T
:
pStubMsg
->
Buffer
+=
sizeof
(
error_status_t
);
pStubMsg
->
MemorySize
+=
sizeof
(
error_status_t
);
return
sizeof
(
error_status_t
);
case
RPC_FC_ENUM16
:
case
RPC_FC_ENUM32
:
pStubMsg
->
Buffer
+=
sizeof
(
INT
);
pStubMsg
->
MemorySize
+=
sizeof
(
INT
);
return
sizeof
(
INT
);
default:
FIXME
(
"Unhandled base type: 0x%02x
\n
"
,
*
pFormat
);
...
...
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