少年修仙传客户端基础资源
hch
2024-04-01 d01413b00ef631ac20347716b23818b0b811f65f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
 * \file
 * Copyright 2016 Microsoft
 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
 */
#ifndef __MONO_METADATA_PROCESS_INTERNALS_H__
#define __MONO_METADATA_PROCESS_INTERNALS_H__
 
#include <config.h>
#include <glib.h>
 
// On platforms not using classic WIN API support the  implementation of bellow methods are hosted in separate source file
// process-windows-*.c. On platforms using classic WIN API the implementation is still keept in process.c and still declared
// static and in some places even inlined.
#if !G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
void
mono_w32process_get_fileversion (MonoObject *filever, gunichar2 *filename, MonoError *error);
 
void
mono_process_init_startup_info (HANDLE stdin_handle, HANDLE stdout_handle,
                HANDLE stderr_handle,STARTUPINFO *startinfo);
 
gboolean
mono_process_create_process (MonoW32ProcessInfo *mono_process_info, MonoString *cmd, guint32 creation_flags,
    gunichar2 *env_vars, gunichar2 *dir, STARTUPINFO *start_info, PROCESS_INFORMATION *process_info);
 
MonoBoolean
mono_icall_get_process_working_set_size (gpointer handle, gsize *min, gsize *max);
 
MonoBoolean
mono_icall_set_process_working_set_size (gpointer handle, gsize min, gsize max);
 
gint32
mono_icall_get_priority_class (gpointer handle);
 
MonoBoolean
mono_icall_set_priority_class (gpointer handle, gint32 priorityClass);
 
gboolean
mono_process_win_enum_processes (DWORD *pids, DWORD count, DWORD *needed);
#endif  /* !G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
 
#endif /* __MONO_METADATA_PROCESS_INTERNALS_H__ */