3 * Copyright 2016 Microsoft
4 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
6 #ifndef __MONO_METADATA_PROCESS_INTERNALS_H__
7 #define __MONO_METADATA_PROCESS_INTERNALS_H__
12 // On platforms not using classic WIN API support the implementation of bellow methods are hosted in separate source file
13 // process-windows-*.c. On platforms using classic WIN API the implementation is still keept in process.c and still declared
14 // static and in some places even inlined.
15 #if !G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
17 mono_w32process_get_fileversion (MonoObject *filever, gunichar2 *filename, MonoError *error);
20 mono_process_init_startup_info (HANDLE stdin_handle, HANDLE stdout_handle,
21 HANDLE stderr_handle,STARTUPINFO *startinfo);
24 mono_process_create_process (MonoW32ProcessInfo *mono_process_info, MonoString *cmd, guint32 creation_flags,
25 gunichar2 *env_vars, gunichar2 *dir, STARTUPINFO *start_info, PROCESS_INFORMATION *process_info);
28 mono_icall_get_process_working_set_size (gpointer handle, gsize *min, gsize *max);
31 mono_icall_set_process_working_set_size (gpointer handle, gsize min, gsize max);
34 mono_icall_get_priority_class (gpointer handle);
37 mono_icall_set_priority_class (gpointer handle, gint32 priorityClass);
40 mono_process_win_enum_processes (DWORD *pids, DWORD count, DWORD *needed);
41 #endif /* !G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
43 #endif /* __MONO_METADATA_PROCESS_INTERNALS_H__ */