Commit 714b66e9 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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.
parent 1fd711c1
......@@ -70,7 +70,7 @@ static CRITICAL_SECTION_DEBUG csRegIf_debug =
};
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 OXID *oxid, const IPID *ipid,
status = RpcStringBindingComposeW(
NULL,
wszPipeTransport,
wszRpcTransport,
NULL,
endpoint,
NULL,
......@@ -683,7 +683,7 @@ void RPC_StartRemoting(struct apartment *apt)
get_rpc_endpoint(endpoint, &apt->oxid);
status = RpcServerUseProtseqEpW(
wszPipeTransport,
wszRpcTransport,
RPC_C_PROTSEQ_MAX_REQS_DEFAULT,
endpoint,
NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment