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
0abc4753
Commit
0abc4753
authored
Sep 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Retrieve the stack argument pointer in a more portable way in NdrMesProcEncodeDecode.
parent
06f3b945
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
ndr_es.c
dlls/rpcrt4/ndr_es.c
+4
-5
No files found.
dlls/rpcrt4/ndr_es.c
View file @
0abc4753
...
...
@@ -332,6 +332,7 @@ void WINAPIV NdrMesProcEncodeDecode(handle_t Handle, const MIDL_STUB_DESC * pStu
/* the value to return to the client from the remote procedure */
LONG_PTR
RetVal
=
0
;
const
RPC_CLIENT_INTERFACE
*
client_interface
;
__ms_va_list
args
;
TRACE
(
"Handle %p, pStubDesc %p, pFormat %p, ...
\n
"
,
Handle
,
pStubDesc
,
pFormat
);
...
...
@@ -396,11 +397,9 @@ void WINAPIV NdrMesProcEncodeDecode(handle_t Handle, const MIDL_STUB_DESC * pStu
TRACE
(
"MIDL stub version = 0x%x
\n
"
,
pStubDesc
->
MIDLVersion
);
/* needed for conformance of top-level objects */
#ifdef __i386__
pEsMsg
->
StubMsg
.
StackTop
=
*
(
unsigned
char
**
)(
&
pFormat
+
1
);
#else
# warning Stack not retrieved for your CPU architecture
#endif
__ms_va_start
(
args
,
pFormat
);
pEsMsg
->
StubMsg
.
StackTop
=
va_arg
(
args
,
unsigned
char
*
);
__ms_va_end
(
args
);
switch
(
pEsMsg
->
Operation
)
{
...
...
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