mscms_main.c 1.36 KB
Newer Older
1 2 3
/*
 * MSCMS - Color Management System for Wine
 *
4
 * Copyright 2004, 2005 Hans Leidekker
5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * 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 22
 */

#include "config.h"

23 24 25 26
#include "wine/port.h"
#include "wine/debug.h"
#include "wine/library.h"

27 28 29 30 31
#include <stdarg.h>

#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
32
#include "winuser.h"
33 34
#include "icm.h"

35
WINE_DEFAULT_DEBUG_CHANNEL(mscms);
36

37
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
38
{
39
    TRACE( "(%p, %d, %p)\n", hinst, reason, reserved );
40

41 42 43
    switch (reason)
    {
    case DLL_PROCESS_ATTACH:
44
        DisableThreadLibraryCalls( hinst );
45
        break;
46 47 48 49
    case DLL_PROCESS_DETACH:
        break;
    }
    return TRUE;
50
}