rpcss: Register the endpoint for the ncalrpc protseq for the endpoint mapper.

This commit is contained in:
Rob Shearman 2008-08-10 18:24:09 +01:00 committed by Alexandre Julliard
parent a80a6353d7
commit 257bf68f3d
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,8 @@ static BOOL RPCSS_Initialize(void)
static unsigned short irot_endpoint[] = IROT_ENDPOINT;
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_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;
WINE_TRACE("\n");
@ -87,6 +89,11 @@ static BOOL RPCSS_Initialize(void)
if (status != RPC_S_OK)
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,
irot_endpoint, NULL);
if (status != RPC_S_OK)