1 /* $Id: sbapi.c,v 1.4 2003/12/21 20:11:46 ea Exp $
3 * PROJECT : ReactOS / POSIX+ Environment Subsystem Server
4 * FILE : reactos/subsys/psx/server/port/sbapi.c
5 * DESCRIPTION: \POSIX+\SbApiPort LPC logic.
7 * AUTHOR : Emanuele Aliberti <eal@users.sf.net>
9 * --------------------------------------------------------------------
11 * This software is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
16 * This software is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this software; see the file COPYING. If not, write
23 * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
26 * --------------------------------------------------------------------
32 /**********************************************************************
33 * ProcessConnectionRequest/ PRIVATE
35 PRIVATE NTSTATUS STDCALL
36 ProcessConnectionRequest (PPSX_MESSAGE pRequest
)
38 return STATUS_NOT_IMPLEMENTED
;
40 /**********************************************************************
41 * ProcessRequest/ PRIVATE
43 PRIVATE NTSTATUS STDCALL
44 ProcessRequest (PPSX_MESSAGE pRequest
)
46 return STATUS_NOT_IMPLEMENTED
;
48 /**********************************************************************
52 * The \POSIX+\SbApiPort LPC port message dispatcher.
55 * what is this port for? Is "Sb" for "shared block"?
58 SbApiPortListener (PVOID pArg
)
62 PSX_MAX_MESSAGE Request
;
63 PPSX_MAX_MESSAGE Reply
= NULL
;
65 debug_print (L
"PSXSS: ->%s pArg=%d", TEXT(__FUNCTION__
), (ULONG
) pArg
);
67 RtlZeroMemory (& Request
, sizeof Request
);
69 #ifdef __PSXSS_ON_W32__
71 TerminateThread(GetCurrentThread(),Status
);
73 NtTerminateThread(NtCurrentThread(),Status
);