3 * UWP coree support for Mono.
5 * Copyright 2016 Microsoft
6 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
10 #include "mono/utils/mono-compiler.h"
12 #if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT)
14 #include "mono/metadata/coree-internals.h"
16 BOOL STDMETHODCALLTYPE
17 _CorDllMain(HINSTANCE hInst
, DWORD dwReason
, LPVOID lpReserved
)
19 g_unsupported_api ("_CorDllMain");
23 __int32 STDMETHODCALLTYPE
26 g_unsupported_api ("_CorExeMain");
27 ExitProcess (EXIT_FAILURE
);
31 _CorValidateImage(PVOID
*ImageBase
, LPCWSTR FileName
)
33 g_unsupported_api ("_CorValidateImage");
38 MonoLoadImage(LPCWSTR FileName
)
40 g_unsupported_api ("MonoLoadImage");
45 mono_coree_set_act_ctx (const char *file_name
)
47 g_unsupported_api ("CreateActCtx, ActivateActCtx");
48 SetLastError (ERROR_NOT_SUPPORTED
);
53 #else /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
55 MONO_EMPTY_SOURCE_FILE (coree_windows_uwp
);
56 #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */