2003-05-02 18:12:38 +00:00
|
|
|
/*
|
|
|
|
* ReactOS kernel
|
|
|
|
* Copyright (C) 2003 ReactOS Team
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2009-10-27 10:34:16 +00:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2003-05-02 18:12:38 +00:00
|
|
|
*/
|
2013-03-16 20:41:13 +00:00
|
|
|
/*
|
2003-05-02 18:12:38 +00:00
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS system libraries
|
|
|
|
* PURPOSE: Main file
|
|
|
|
* FILE: lib/syssetup/dllmain.c
|
2004-08-28 11:08:50 +00:00
|
|
|
* PROGRAMER: Eric Kohl
|
2003-05-02 18:12:38 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
|
2011-07-28 15:57:04 +00:00
|
|
|
#include "precomp.h"
|
2004-04-16 13:37:18 +00:00
|
|
|
|
2003-05-02 18:12:38 +00:00
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
|
2004-04-16 13:37:18 +00:00
|
|
|
HINSTANCE hDllInstance;
|
|
|
|
|
2003-05-02 18:12:38 +00:00
|
|
|
/* FUNCTIONS *****************************************************************/
|
|
|
|
|
2008-11-30 11:42:05 +00:00
|
|
|
BOOL WINAPI
|
2003-05-02 18:12:38 +00:00
|
|
|
DllMain (HINSTANCE hInstance,
|
2011-11-15 08:44:37 +00:00
|
|
|
DWORD dwReason,
|
|
|
|
LPVOID lpReserved)
|
2003-05-02 18:12:38 +00:00
|
|
|
{
|
2011-11-15 08:44:37 +00:00
|
|
|
if (dwReason == DLL_PROCESS_ATTACH)
|
|
|
|
{
|
|
|
|
INITCOMMONCONTROLSEX InitControls;
|
2004-11-02 15:42:09 +00:00
|
|
|
|
2011-11-15 08:44:37 +00:00
|
|
|
InitControls.dwSize = sizeof(INITCOMMONCONTROLSEX);
|
|
|
|
InitControls.dwICC = ICC_DATE_CLASSES | ICC_PROGRESS_CLASS | ICC_UPDOWN_CLASS;
|
|
|
|
InitCommonControlsEx(&InitControls);
|
|
|
|
hDllInstance = hInstance;
|
|
|
|
}
|
2003-05-02 18:12:38 +00:00
|
|
|
|
2011-11-15 08:44:37 +00:00
|
|
|
return TRUE;
|
2003-05-02 18:12:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* EOF */
|