From 26fc2d0d6211fd7ad89c64695b39fb6cadb9069a Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Thu, 11 Aug 2005 11:52:40 +0000 Subject: [PATCH] VMS: use csrsrv!CsrAddStaticServerThread to hook the listening port. svn path=/trunk/; revision=17284 --- vms/server/server.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vms/server/server.c b/vms/server/server.c index 335f1c132a6..48ee885985c 100644 --- a/vms/server/server.c +++ b/vms/server/server.c @@ -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 */