2 * coree-windows-uwp.c: UWP coree support for Mono.
4 * Copyright 2016 Microsoft
5 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
9 #include "mono/utils/mono-compiler.h"
11 #if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT)
13 #include "mono/metadata/coree-internals.h"
15 BOOL STDMETHODCALLTYPE
16 _CorDllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpReserved)
18 g_unsupported_api ("_CorDllMain");
22 __int32 STDMETHODCALLTYPE
25 g_unsupported_api ("_CorExeMain");
26 ExitProcess (EXIT_FAILURE);
30 _CorValidateImage(PVOID *ImageBase, LPCWSTR FileName)
32 g_unsupported_api ("_CorValidateImage");
37 MonoLoadImage(LPCWSTR FileName)
39 g_unsupported_api ("MonoLoadImage");
44 mono_coree_set_act_ctx (const char *file_name)
46 g_unsupported_api ("CreateActCtx, ActivateActCtx");
47 SetLastError (ERROR_NOT_SUPPORTED);
52 #else /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
54 MONO_EMPTY_SOURCE_FILE (coree_windows_uwp);
55 #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */