migrate substitution keywords to SVN
[reactos.git] / reactos / subsys / csrss / lpcstub.c
1 /* $Id$
2 *
3 * lpcstub.c
4 *
5 * ReactOS Operating System
6 *
7 *
8 */
9 #include <ddk/ntddk.h>
10 #include "api.h"
11
12
13 /* CUI & GUI Win32(tm) API port */
14
15 LPC_RETURN_CODE
16 PortDispatcher_Api(
17 PLPC_REQUEST_REPLY pLpcRequestReply
18 )
19 {
20 switch (pLpcRequestReply->Function)
21 {
22 case CSRSS_API_PROCESS_CREATE:
23 return CSRSS_CreateProcess(pLpcRequestReply);
24 case CSRSS_API_PROCESS_TERMINATE:
25 return CSRSS_TerminateProcess(pLpcRequestReply);
26 }
27 return LPC_ERROR_INVALID_FUNCTION;
28 }
29
30
31 /* The \SbApi dispatcher: what is this port for? */
32
33 LPC_RETURN_CODE
34 PortDispatcher_SbApi(
35 PLPC_REQUEST_REPLY pLpcRequestReply
36 )
37 {
38 return LPC_ERROR_INVALID_FUNCTION;
39 }
40
41
42 /* EOF */