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.
10 #if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT)
14 mono_runtime_setup_stat_profiler (void)
16 g_unsupported_api ("OpenThread, GetThreadContext");
17 SetLastError (ERROR_NOT_SUPPORTED);
22 mono_runtime_shutdown_stat_profiler (void)
24 g_unsupported_api ("OpenThread, GetThreadContext");
25 SetLastError (ERROR_NOT_SUPPORTED);
30 mono_setup_thread_context(DWORD thread_id, MonoContext *mono_context)
32 memset (mono_context, 0, sizeof (MonoContext));
36 #else /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
39 // Quiet Visual Studio linker warning, LNK4221, in cases when this source file intentional ends up empty.
40 void __mono_win32_mini_windows_uwp_quiet_lnk4221(void) {}
42 #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */