[WIN32K]
[reactos.git] / subsystems / win / winsrv / dllmain.c
1 /* $Id$
2 *
3 * dllmain.c - ReactOS/Win32 Console+User Enviroment Subsystem Server
4 *
5 * ReactOS Operating System
6 *
7 * --------------------------------------------------------------------
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 *
23 * --------------------------------------------------------------------
24 */
25 #include "winsrv.h"
26
27 #define NDEBUG
28 #include <debug.h>
29
30 HANDLE DllHandle = 0;
31
32 /* FUNCTIONS *****************************************************************/
33
34 BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
35 {
36 if (DLL_PROCESS_ATTACH == dwReason)
37 {
38 DllHandle = hDll;
39 }
40
41 return TRUE;
42 }
43
44 /* EOF */