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
f4de78ba
Commit
f4de78ba
authored
Apr 20, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Apr 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Correctly fill in StackTop for stubless clients/servers.
Correctly fill in StackTop for stubless clients/servers so that conformance for top-level parameters works.
parent
727e25d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ndr_stubless.c
dlls/rpcrt4/ndr_stubless.c
+4
-3
No files found.
dlls/rpcrt4/ndr_stubless.c
View file @
f4de78ba
...
...
@@ -585,6 +585,8 @@ LONG_PTR WINAPIV NdrClientCall2(PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma
#endif
stubMsg
.
BufferLength
=
0
;
/* needed for conformance of top-level objects */
stubMsg
.
StackTop
=
*
(
unsigned
char
**
)
args
;
/* store the RPC flags away */
if
(
pProcHeader
->
Oi_flags
&
RPC_FC_PROC_OIF_RPCFLAGS
)
...
...
@@ -1138,7 +1140,6 @@ long WINAPI NdrStubCall2(
stubMsg
.
fHasNewCorrDesc
=
TRUE
;
}
/* convert strings, floating point values and endianess into our
* preferred format */
if
((
pRpcMsg
->
DataRepresentation
&
0x0000FFFFUL
)
!=
NDR_LOCAL_DATA_REPRESENTATION
)
...
...
@@ -1148,8 +1149,8 @@ long WINAPI NdrStubCall2(
TRACE
(
"allocating memory for stack of size %x
\n
"
,
stack_size
);
args
=
HeapAlloc
(
GetProcessHeap
(),
0
,
stack_size
);
ZeroMemory
(
args
,
stack_size
);
args
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
stack_size
);
stubMsg
.
StackTop
=
args
;
/* used by conformance of top-level objects */
/* add the implicit This pointer as the first arg to the function if we
* are calling an object method */
...
...
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