Robert Shearman : ole: Use ncalrpc instead of ncacn_np as the RPC transport .
Module: wine Branch: refs/heads/master Commit: 714b66e9457dacf32e0bfefb9564e20e446bc44d URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=714b66e9457dacf32e0bfefb... Author: Robert Shearman <rob(a)codeweavers.com> Date: Fri Mar 31 12:34:25 2006 +0100 ole: Use ncalrpc instead of ncacn_np as the RPC transport. Use ncalrpc instead of ncacn_np as the transport as this is more similar to how ole32 from NT works and should also be compatible with rpcrt4 from Win9x, allowing more combinations of dlls to work. --- dlls/ole32/rpc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c index 6715f72..d849c6e 100644 --- a/dlls/ole32/rpc.c +++ b/dlls/ole32/rpc.c @@ -70,7 +70,7 @@ static CRITICAL_SECTION_DEBUG csRegIf_de }; static CRITICAL_SECTION csRegIf = { &csRegIf_debug, -1, 0, 0, 0, 0 }; -static WCHAR wszPipeTransport[] = {'n','c','a','c','n','_','n','p',0}; +static WCHAR wszRpcTransport[] = {'n','c','a','l','r','p','c',0}; struct registered_if @@ -447,7 +447,7 @@ HRESULT RPC_CreateClientChannel(const OX status = RpcStringBindingComposeW( NULL, - wszPipeTransport, + wszRpcTransport, NULL, endpoint, NULL, @@ -683,7 +683,7 @@ void RPC_StartRemoting(struct apartment get_rpc_endpoint(endpoint, &apt->oxid); status = RpcServerUseProtseqEpW( - wszPipeTransport, + wszRpcTransport, RPC_C_PROTSEQ_MAX_REQS_DEFAULT, endpoint, NULL);
participants (1)
-
Alexandre Julliard