Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendllmain.c
Go to the documentation of this file.
00001 /* 00002 * ReactOS kernel 00003 * Copyright (C) 2003 ReactOS Team 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program; if not, write to the Free Software Foundation, Inc., 00017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00018 */ 00019 /* $Id: dllmain.c 54383 2011-11-15 08:44:37Z rharabien $ 00020 * 00021 * COPYRIGHT: See COPYING in the top level directory 00022 * PROJECT: ReactOS system libraries 00023 * PURPOSE: Main file 00024 * FILE: lib/syssetup/dllmain.c 00025 * PROGRAMER: Eric Kohl 00026 */ 00027 00028 /* INCLUDES *****************************************************************/ 00029 00030 #include "precomp.h" 00031 00032 /* GLOBALS *******************************************************************/ 00033 00034 HINSTANCE hDllInstance; 00035 00036 00037 /* FUNCTIONS *****************************************************************/ 00038 00039 BOOL WINAPI 00040 DllMain (HINSTANCE hInstance, 00041 DWORD dwReason, 00042 LPVOID lpReserved) 00043 { 00044 if (dwReason == DLL_PROCESS_ATTACH) 00045 { 00046 INITCOMMONCONTROLSEX InitControls; 00047 00048 InitControls.dwSize = sizeof(INITCOMMONCONTROLSEX); 00049 InitControls.dwICC = ICC_DATE_CLASSES | ICC_PROGRESS_CLASS | ICC_UPDOWN_CLASS; 00050 InitCommonControlsEx(&InitControls); 00051 hDllInstance = hInstance; 00052 } 00053 00054 return TRUE; 00055 } 00056 00057 /* EOF */ Generated on Sat May 26 2012 04:21:09 for ReactOS by
1.7.6.1
|