fixes
[reactos.git] / reactos / subsys / psxss / api.c
1 /* $Id: api.c,v 1.1 1999/07/17 23:10:30 ea Exp $
2 *
3 * reactos/subsys/psxss/api.c
4 *
5 * ReactOS Operating System
6 *
7 *
8 */
9 #include <ddk/ntddk.h>
10 #include <internal/lpc.h>
11 #include "api.h"
12
13 BOOL TerminationRequestPending = FALSE;
14
15 long
16 port_dispatcher_api(
17 PLPC_REQUEST_REPLY pLpcRequestReply
18 )
19 {
20 switch (pLpcRequestReply->Function)
21 {
22 case LPC_PSX_API_PROCESS_CREATE:
23 return POSIX_PROCESS_Create(pLpcRequestReply);
24 case LPC_PSX_API_PROCESS_TERMINATE:
25 return POSIX_PROCESS_Terminate(pLpcRequestReply);
26 }
27 return LPC_ERROR_INVALID_FUNCTION;
28 }
29
30 /* EOF */