[netcore] Implement missing Bmi1/Bmi2 intrinsics (#16919)
[mono-project.git] / mono / mini / mini-windows-dllmain.c
blob3cbc8ba3621359197e92bbf4ed4ed2244cbde8bf
1 /**
2 * \file
3 * DllMain entry point.
5 * (C) 2002-2003 Ximian, Inc.
6 * (C) 2003-2006 Novell, Inc.
7 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
8 */
10 #include "mini-runtime.h"
12 #ifdef HOST_WIN32
13 #include "mini-windows.h"
14 #include <windows.h>
16 MONO_EXTERN_C
17 BOOL APIENTRY DllMain (HMODULE module_handle, DWORD reason, LPVOID reserved);
19 MONO_EXTERN_C
20 BOOL APIENTRY DllMain (HMODULE module_handle, DWORD reason, LPVOID reserved)
22 return mono_win32_runtime_tls_callback (module_handle, reason, reserved, MONO_WIN32_TLS_CALLBACK_TYPE_DLL);
24 #endif