VMS: use csrsrv!CsrAddStaticServerThread to hook the listening port.

svn path=/trunk/; revision=17284
This commit is contained in:
Emanuele Aliberti 2005-08-11 11:52:40 +00:00
parent d008d6c377
commit 26fc2d0d62

View file

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