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
78e8fccb
Commit
78e8fccb
authored
Jul 28, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Use the same phase values for clients and stubs.
parent
f3734fd6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
ndr_es.c
dlls/rpcrt4/ndr_es.c
+3
-3
ndr_stubless.c
dlls/rpcrt4/ndr_stubless.c
+0
-0
ndr_stubless.h
dlls/rpcrt4/ndr_stubless.h
+13
-2
No files found.
dlls/rpcrt4/ndr_es.c
View file @
78e8fccb
...
...
@@ -409,14 +409,14 @@ void WINAPIV NdrMesProcEncodeDecode(handle_t Handle, const MIDL_STUB_DESC * pStu
case
MES_ENCODE
:
pEsMsg
->
StubMsg
.
BufferLength
=
mes_proc_header_buffer_size
();
client_do_args
(
&
pEsMsg
->
StubMsg
,
pFormat
,
PROXY
_CALCSIZE
,
NULL
,
number_of_params
,
NULL
);
client_do_args
(
&
pEsMsg
->
StubMsg
,
pFormat
,
STUBLESS
_CALCSIZE
,
NULL
,
number_of_params
,
NULL
);
pEsMsg
->
ByteCount
=
pEsMsg
->
StubMsg
.
BufferLength
-
mes_proc_header_buffer_size
();
es_data_alloc
(
pEsMsg
,
pEsMsg
->
StubMsg
.
BufferLength
);
mes_proc_header_marshal
(
pEsMsg
);
client_do_args
(
&
pEsMsg
->
StubMsg
,
pFormat
,
PROXY
_MARSHAL
,
NULL
,
number_of_params
,
NULL
);
client_do_args
(
&
pEsMsg
->
StubMsg
,
pFormat
,
STUBLESS
_MARSHAL
,
NULL
,
number_of_params
,
NULL
);
es_data_write
(
pEsMsg
,
pEsMsg
->
ByteCount
);
break
;
...
...
@@ -425,7 +425,7 @@ void WINAPIV NdrMesProcEncodeDecode(handle_t Handle, const MIDL_STUB_DESC * pStu
es_data_read
(
pEsMsg
,
pEsMsg
->
ByteCount
);
client_do_args
(
&
pEsMsg
->
StubMsg
,
pFormat
,
PROXY
_UNMARSHAL
,
NULL
,
number_of_params
,
NULL
);
client_do_args
(
&
pEsMsg
->
StubMsg
,
pFormat
,
STUBLESS
_UNMARSHAL
,
NULL
,
number_of_params
,
NULL
);
break
;
default:
RpcRaiseException
(
RPC_S_INTERNAL_ERROR
);
...
...
dlls/rpcrt4/ndr_stubless.c
View file @
78e8fccb
This diff is collapsed.
Click to expand it.
dlls/rpcrt4/ndr_stubless.h
View file @
78e8fccb
...
...
@@ -225,12 +225,23 @@ typedef struct _NDR_EHD_CONTEXT
#include "poppack.h"
enum
stubless_phase
{
STUBLESS_UNMARSHAL
,
STUBLESS_INITOUT
,
STUBLESS_CALLSERVER
,
STUBLESS_CALCSIZE
,
STUBLESS_GETBUFFER
,
STUBLESS_MARSHAL
,
STUBLESS_FREE
};
LONG_PTR
CDECL
ndr_client_call
(
PMIDL_STUB_DESC
pStubDesc
,
PFORMAT_STRING
pFormat
,
void
**
stack_top
,
void
**
fpu_stack
)
DECLSPEC_HIDDEN
;
LONG_PTR
CDECL
ndr_async_client_call
(
PMIDL_STUB_DESC
pStubDesc
,
PFORMAT_STRING
pFormat
,
void
**
stack_top
)
DECLSPEC_HIDDEN
;
void
client_do_args
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
,
int
phase
,
void
**
fpu_args
,
unsigned
short
number_of_params
,
unsigned
char
*
pRetVal
)
DECLSPEC_HIDDEN
;
void
client_do_args
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
,
enum
stubless_phase
phase
,
void
**
fpu_args
,
unsigned
short
number_of_params
,
unsigned
char
*
pRetVal
)
DECLSPEC_HIDDEN
;
PFORMAT_STRING
convert_old_args
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
,
unsigned
int
stack_size
,
BOOL
object_proc
,
void
*
buffer
,
unsigned
int
size
,
unsigned
int
*
count
)
DECLSPEC_HIDDEN
;
...
...
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