ff1f7f45d2416c6d4d6c25ee9558ab6fe5b3dad0
[reactos.git] / reactos / dll / win32 / uxtheme / main.c
1 /*
2 * Win32 5.1 Themes
3 *
4 * Copyright (C) 2003 Kevin Koltzau
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21 #include "uxthemep.h"
22 #include <wine/debug.h>
23
24 WINE_DEFAULT_DEBUG_CHANNEL(uxtheme);
25
26 /***********************************************************************/
27
28 /* For the moment, do nothing here. */
29 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
30 {
31 TRACE("%p 0x%x %p: stub\n", hInstDLL, fdwReason, lpv);
32 switch(fdwReason) {
33 case DLL_PROCESS_ATTACH:
34 DisableThreadLibraryCalls(hInstDLL);
35 UXTHEME_InitSystem(hInstDLL);
36 break;
37 case DLL_PROCESS_DETACH:
38 break;
39 }
40 return TRUE;
41 }