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
834c5b42
Commit
834c5b42
authored
Mar 18, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Implement stubless asynchronous NDR interpreter.
CodeWeavers did this work for supporting Outlook 2007.
parent
9c6e6efa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
3 deletions
+18
-3
ndr_stubless.c
dlls/rpcrt4/ndr_stubless.c
+0
-0
ndr_stubless.h
dlls/rpcrt4/ndr_stubless.h
+1
-0
rpc_assoc.c
dlls/rpcrt4/rpc_assoc.c
+1
-0
rpc_async.c
dlls/rpcrt4/rpc_async.c
+14
-2
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+2
-1
No files found.
dlls/rpcrt4/ndr_stubless.c
View file @
834c5b42
This diff is collapsed.
Click to expand it.
dlls/rpcrt4/ndr_stubless.h
View file @
834c5b42
...
...
@@ -240,3 +240,4 @@ void client_do_args_old_format(PMIDL_STUB_MESSAGE pStubMsg,
PFORMAT_STRING
pFormat
,
int
phase
,
unsigned
char
*
args
,
unsigned
short
stack_size
,
unsigned
char
*
pRetVal
,
BOOL
object_proc
,
BOOL
ignore_retval
);
RPC_STATUS
NdrpCompleteAsyncClientCall
(
RPC_ASYNC_STATE
*
pAsync
,
void
*
Reply
);
dlls/rpcrt4/rpc_assoc.c
View file @
834c5b42
...
...
@@ -416,6 +416,7 @@ RPC_STATUS RpcAssoc_GetClientConnection(RpcAssoc *assoc,
void
RpcAssoc_ReleaseIdleConnection
(
RpcAssoc
*
assoc
,
RpcConnection
*
Connection
)
{
assert
(
!
Connection
->
server
);
Connection
->
async_state
=
NULL
;
EnterCriticalSection
(
&
assoc
->
cs
);
if
(
!
assoc
->
assoc_group_id
)
assoc
->
assoc_group_id
=
Connection
->
assoc_group_id
;
list_add_head
(
&
assoc
->
free_connection_pool
,
&
Connection
->
conn_pool_entry
);
...
...
dlls/rpcrt4/rpc_async.c
View file @
834c5b42
...
...
@@ -29,11 +29,17 @@
#include "rpc_binding.h"
#include "rpc_message.h"
#include "ndr_stubless.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
rpc
);
#define RPC_ASYNC_SIGNATURE 0x43595341
static
inline
BOOL
valid_async_handle
(
PRPC_ASYNC_STATE
pAsync
)
{
return
pAsync
->
Signature
==
RPC_ASYNC_SIGNATURE
;
}
/***********************************************************************
* RpcAsyncInitializeHandle [RPCRT4.@]
*
...
...
@@ -104,8 +110,14 @@ RPC_STATUS WINAPI RpcAsyncGetCallStatus(PRPC_ASYNC_STATE pAsync)
*/
RPC_STATUS
WINAPI
RpcAsyncCompleteCall
(
PRPC_ASYNC_STATE
pAsync
,
void
*
Reply
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
pAsync
,
Reply
);
return
RPC_S_INVALID_ASYNC_HANDLE
;
TRACE
(
"(%p, %p)
\n
"
,
pAsync
,
Reply
);
if
(
!
valid_async_handle
(
pAsync
))
return
RPC_S_INVALID_ASYNC_HANDLE
;
/* FIXME: check completed */
return
NdrpCompleteAsyncClientCall
(
pAsync
,
Reply
);
}
/***********************************************************************
...
...
dlls/rpcrt4/rpcrt4.spec
View file @
834c5b42
...
...
@@ -116,8 +116,9 @@
@ stdcall NDRSContextUnmarshallEx(ptr ptr ptr)
@ stub NDRcopy
@ stdcall NdrAllocate(ptr long)
@
stub NdrAsyncClientCall
@
varargs NdrAsyncClientCall(ptr ptr)
@ stub NdrAsyncServerCall
@ stdcall NdrAsyncStubCall(ptr ptr ptr ptr)
@ stdcall NdrByteCountPointerBufferSize(ptr ptr ptr)
@ stdcall NdrByteCountPointerFree(ptr ptr ptr)
@ stdcall NdrByteCountPointerMarshall(ptr ptr ptr)
...
...
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