mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
rpcss: Register the endpoint for the ncalrpc protseq for the endpoint mapper.
This commit is contained in:
parent
a80a6353d7
commit
257bf68f3d
1 changed files with 7 additions and 0 deletions
|
@ -68,6 +68,8 @@ static BOOL RPCSS_Initialize(void)
|
||||||
static unsigned short irot_endpoint[] = IROT_ENDPOINT;
|
static unsigned short irot_endpoint[] = IROT_ENDPOINT;
|
||||||
static unsigned short epm_protseq[] = {'n','c','a','c','n','_','n','p',0};
|
static unsigned short epm_protseq[] = {'n','c','a','c','n','_','n','p',0};
|
||||||
static unsigned short epm_endpoint[] = {'\\','p','i','p','e','\\','e','p','m','a','p','p','e','r',0};
|
static unsigned short epm_endpoint[] = {'\\','p','i','p','e','\\','e','p','m','a','p','p','e','r',0};
|
||||||
|
static unsigned short epm_protseq_lrpc[] = {'n','c','a','l','r','p','c',0};
|
||||||
|
static unsigned short epm_endpoint_lrpc[] = {'e','p','m','a','p','p','e','r',0};
|
||||||
RPC_STATUS status;
|
RPC_STATUS status;
|
||||||
|
|
||||||
WINE_TRACE("\n");
|
WINE_TRACE("\n");
|
||||||
|
@ -87,6 +89,11 @@ static BOOL RPCSS_Initialize(void)
|
||||||
if (status != RPC_S_OK)
|
if (status != RPC_S_OK)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
status = RpcServerUseProtseqEpW(epm_protseq_lrpc, RPC_C_PROTSEQ_MAX_REQS_DEFAULT,
|
||||||
|
epm_endpoint_lrpc, NULL);
|
||||||
|
if (status != RPC_S_OK)
|
||||||
|
goto fail;
|
||||||
|
|
||||||
status = RpcServerUseProtseqEpW(irot_protseq, RPC_C_PROTSEQ_MAX_REQS_DEFAULT,
|
status = RpcServerUseProtseqEpW(irot_protseq, RPC_C_PROTSEQ_MAX_REQS_DEFAULT,
|
||||||
irot_endpoint, NULL);
|
irot_endpoint, NULL);
|
||||||
if (status != RPC_S_OK)
|
if (status != RPC_S_OK)
|
||||||
|
|
Loading…
Reference in a new issue