Corrected additional object manager issues pointed by Philip Susi
[reactos.git] / reactos / subsys / csrss / api / process.c
1 /* $Id: process.c,v 1.3 1999/12/22 14:48:30 dwelch Exp $
2 *
3 * reactos/subsys/csrss/api/process.c
4 *
5 * "\windows\ApiPort" port process management functions
6 *
7 * ReactOS Operating System
8 */
9
10 /* INCLUDES ******************************************************************/
11
12 #include <ddk/ntddk.h>
13
14 #include <csrss/csrss.h>
15
16 #include "api.h"
17
18 /* FUNCTIONS *****************************************************************/
19
20 NTSTATUS CsrCreateProcess (PCSRSS_PROCESS_DATA ProcessData,
21 PCSRSS_API_REQUEST LpcMessage)
22 {
23 return(STATUS_NOT_IMPLEMENTED);
24 }
25
26 NTSTATUS CsrTerminateProcess(PCSRSS_PROCESS_DATA ProcessData,
27 PCSRSS_API_REQUEST LpcMessage)
28 {
29 return(STATUS_NOT_IMPLEMENTED);
30 }
31
32 NTSTATUS CsrConnectProcess(CSRSS_PROCESS_DATA ProcessData,
33 PCSRSS_API_REQUEST Request)
34 {
35 HANDLE ConsoleHandle;
36
37 ConsoleHandle = ((PULONG)Request.MessageData)[0];
38
39 ProcessData.Console = CsrReferenceConsoleByHandle(ConsoleHandle);
40
41 return(STATUS_SUCCESS);
42 }
43
44 /* EOF */