2 * mini-windows-uwp.c: UWP profiler stat 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)
15 mono_runtime_setup_stat_profiler (void)
17 g_unsupported_api ("OpenThread, GetThreadContext");
18 SetLastError (ERROR_NOT_SUPPORTED);
23 mono_runtime_shutdown_stat_profiler (void)
25 g_unsupported_api ("OpenThread, GetThreadContext");
26 SetLastError (ERROR_NOT_SUPPORTED);
31 mono_setup_thread_context(DWORD thread_id, MonoContext *mono_context)
33 memset (mono_context, 0, sizeof (MonoContext));
37 #else /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
39 MONO_EMPTY_SOURCE_FILE (mini_windows_uwp);
40 #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */