VMS: use csrsrv!CsrAddStaticServerThread to hook the listening port.
Modified: trunk/vms/server/server.c

Modified: trunk/vms/server/server.c
--- trunk/vms/server/server.c	2005-08-11 11:49:36 UTC (rev 17283)
+++ trunk/vms/server/server.c	2005-08-11 11:52:40 UTC (rev 17284)
@@ -32,9 +32,9 @@
 
 /**********************************************************************
  * 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 @@
 					__FUNCTION__, Status);
 		}
 	}
-	return Status;
 }
 
 /*=====================================================================
@@ -72,7 +71,7 @@
 NTSTATUS STDCALL ServerDllInitialization (ULONG ArgumentCount,
 					  LPWSTR *Argument)
 {
-	return CsrAddStaticServerThread ();
+	return CsrAddStaticServerThread (VmsStaticServerThread);
 }
 
 /* EOF */