3 * Copyright (C) 2002 ReactOS Team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 /* $Id: win32.c,v 1.1 2002/01/04 13:09:11 ekohl Exp $
21 * COPYRIGHT: See COPYING in the top level directory
22 * PROJECT: ReactOS kernel
23 * FILE: ntoskrnl/ps/win32.c
24 * PURPOSE: win32k support
25 * PROGRAMMER: Eric Kohl (ekohl@rz-online.de)
30 /* INCLUDES ****************************************************************/
32 #include <ddk/ntddk.h>
33 #include <internal/ps.h>
35 /* TYPES *******************************************************************/
37 /* GLOBALS ******************************************************************/
39 static ULONG PspWin32ProcessSize
= 0;
42 /* FUNCTIONS ***************************************************************/
45 PsCreateWin32Process(PEPROCESS Process
)
47 if (Process
->Win32Process
!= NULL
)
48 return(STATUS_SUCCESS
);
50 Process
->Win32Process
= ExAllocatePool(NonPagedPool
,
52 if (Process
->Win32Process
== NULL
)
53 return(STATUS_NO_MEMORY
);
55 RtlZeroMemory(Process
->Win32Process
,
58 return(STATUS_SUCCESS
);
63 PsEstablishWin32Callouts(PVOID Param1
,
70 PspWin32ProcessSize
= W32ProcessSize
;