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
70804336
Commit
70804336
authored
Aug 17, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Aug 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Add support for FC_ALIGNM2.
parent
86f0634d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+18
-0
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
70804336
...
...
@@ -2727,6 +2727,9 @@ static unsigned char * ComplexMarshall(PMIDL_STUB_MESSAGE pStubMsg,
pMemory
+=
sizeof
(
void
*
);
break
;
}
case
RPC_FC_ALIGNM2
:
ALIGN_POINTER
(
pMemory
,
2
);
break
;
case
RPC_FC_ALIGNM4
:
ALIGN_POINTER
(
pMemory
,
4
);
break
;
...
...
@@ -2852,6 +2855,9 @@ static unsigned char * ComplexUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
pMemory
+=
sizeof
(
void
*
);
break
;
}
case
RPC_FC_ALIGNM2
:
ALIGN_POINTER_CLEAR
(
pMemory
,
2
);
break
;
case
RPC_FC_ALIGNM4
:
ALIGN_POINTER_CLEAR
(
pMemory
,
4
);
break
;
...
...
@@ -2966,6 +2972,9 @@ static unsigned char * ComplexBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
pPointer
+=
4
;
pMemory
+=
sizeof
(
void
*
);
break
;
case
RPC_FC_ALIGNM2
:
ALIGN_POINTER
(
pMemory
,
2
);
break
;
case
RPC_FC_ALIGNM4
:
ALIGN_POINTER
(
pMemory
,
4
);
break
;
...
...
@@ -3049,6 +3058,9 @@ static unsigned char * ComplexFree(PMIDL_STUB_MESSAGE pStubMsg,
pPointer
+=
4
;
pMemory
+=
sizeof
(
void
*
);
break
;
case
RPC_FC_ALIGNM2
:
ALIGN_POINTER
(
pMemory
,
2
);
break
;
case
RPC_FC_ALIGNM4
:
ALIGN_POINTER
(
pMemory
,
4
);
break
;
...
...
@@ -3161,6 +3173,9 @@ static ULONG ComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
size
+=
sizeof
(
void
*
);
break
;
}
case
RPC_FC_ALIGNM2
:
ALIGN_LENGTH
(
size
,
2
);
break
;
case
RPC_FC_ALIGNM4
:
ALIGN_LENGTH
(
size
,
4
);
break
;
...
...
@@ -3224,6 +3239,9 @@ ULONG ComplexStructSize(PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat)
case
RPC_FC_POINTER
:
size
+=
sizeof
(
void
*
);
break
;
case
RPC_FC_ALIGNM2
:
ALIGN_LENGTH
(
size
,
2
);
break
;
case
RPC_FC_ALIGNM4
:
ALIGN_LENGTH
(
size
,
4
);
break
;
...
...
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