winebuild: Use strarray objects instead of pointers where possible.
[wine.git] / dlls / vcomp120 / main.c
blobf2f8b31b6404cfc43a3c1fc11bd2694fb35490df
1 /*
3 * vcomp120 implementation
5 * Copyright 2012 André Hentschel
6 * Copyright 2015 Daniel Lehman
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #include "config.h"
25 #include <stdarg.h>
27 #include "windef.h"
28 #include "winbase.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(vcomp120);
33 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
35 TRACE("(0x%p, %d, %p)\n", instance, reason, reserved);
37 switch (reason)
39 case DLL_WINE_PREATTACH:
40 return FALSE; /* prefer native version */
41 case DLL_PROCESS_ATTACH:
42 DisableThreadLibraryCalls(instance);
43 break;
46 return TRUE;