mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
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.
This commit is contained in:
parent
1fd711c192
commit
714b66e945
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue