VMS: use csrsrv!CsrAddStaticServerThread to hook the listening port.
authorEmanuele Aliberti <ea@iol.it>
Thu, 11 Aug 2005 11:52:40 +0000 (11:52 +0000)
committerEmanuele Aliberti <ea@iol.it>
Thu, 11 Aug 2005 11:52:40 +0000 (11:52 +0000)
svn path=/trunk/; revision=17284

vms/server/server.c

index 335f1c1..48ee885 100644 (file)
@@ -32,9 +32,9 @@ HANDLE VmsApiPort = NULL;
 
 /**********************************************************************
  * NAME                                                        PRIVATE
- *     VmspCreatePort/1
+ *     VmsStaticServerThread/1
  */
-NTSTATUS VmsStaticServerThread (PVOID x)
+VOID STDCALL VmsStaticServerThread (PVOID x)
 {
        NTSTATUS Status = STATUS_SUCCESS;
        LPC_MAX_MESSAGE Request;
@@ -62,7 +62,6 @@ NTSTATUS VmsStaticServerThread (PVOID x)
                                        __FUNCTION__, Status);
                }
        }
-       return Status;
 }
 
 /*=====================================================================
@@ -72,7 +71,7 @@ NTSTATUS VmsStaticServerThread (PVOID x)
 NTSTATUS STDCALL ServerDllInitialization (ULONG ArgumentCount,
                                          LPWSTR *Argument)
 {
-       return CsrAddStaticServerThread ();
+       return CsrAddStaticServerThread (VmsStaticServerThread);
 }
 
 /* EOF */