eaf0f9d2f30c81ca2813146ebd6c2fff64a2d657
[reactos.git] / reactos / lib / syssetup / dllmain.c
1 /*
2 * ReactOS kernel
3 * Copyright (C) 2003 ReactOS Team
4 *
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.
9 *
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.
14 *
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.
18 */
19 /* $Id: dllmain.c,v 1.3 2004/04/16 13:37:18 ekohl Exp $
20 *
21 * COPYRIGHT: See COPYING in the top level directory
22 * PROJECT: ReactOS system libraries
23 * PURPOSE: Main file
24 * FILE: lib/syssetup/dllmain.c
25 * PROGRAMER: Eric Kohl (ekohl@rz-online.de)
26 */
27
28 /* INCLUDES *****************************************************************/
29
30 #include <windows.h>
31 #include <commctrl.h>
32
33 #include "globals.h"
34
35
36 /* GLOBALS *******************************************************************/
37
38 HINSTANCE hDllInstance;
39
40
41 /* FUNCTIONS *****************************************************************/
42
43 BOOL STDCALL
44 DllMain (HINSTANCE hInstance,
45 DWORD dwReason,
46 LPVOID lpReserved)
47 {
48 if (dwReason == DLL_PROCESS_ATTACH)
49 {
50 InitCommonControls();
51 hDllInstance = hInstance;
52 }
53
54 return TRUE;
55 }
56
57 /* EOF */