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

Alexandre Julliard julliard at winehq.org
Mon Aug 18 10:46:22 CDT 2008


Module: wine
Branch: master
Commit: 257bf68f3d82811dc4db76d1632ccd3e2b40a22e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=257bf68f3d82811dc4db76d1632ccd3e2b40a22e

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Sun Aug 10 18:24:09 2008 +0100

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

---

 programs/rpcss/rpcss_main.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/programs/rpcss/rpcss_main.c b/programs/rpcss/rpcss_main.c
index 1722d5e..c75138e 100644
--- a/programs/rpcss/rpcss_main.c
+++ b/programs/rpcss/rpcss_main.c
@@ -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)




More information about the wine-cvs mailing list