STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
process.h
Go to the documentation of this file.
1 /***
2 *process.h - definition and declarations for process control functions
3 *
4 * Copyright (c) Microsoft Corporation. All rights reserved.
5 *
6 *Purpose:
7 * This file defines the modeflag values for spawnxx calls.
8 * Also contains the function argument declarations for all
9 * process control related routines.
10 *
11 * [Public]
12 *
13 ****/
14 
15 #pragma once
16 
17 #ifndef _INC_PROCESS
18 #define _INC_PROCESS
19 
20 #include <crtdefs.h>
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif /* __cplusplus */
26 
27 /* modeflag values for _spawnxx routines */
28 
29 #define _P_WAIT 0
30 #define _P_NOWAIT 1
31 #define _OLD_P_OVERLAY 2
32 #define _P_NOWAITO 3
33 #define _P_DETACH 4
34 
35 #define _P_OVERLAY 2
36 
37 /* Action codes for _cwait(). The action code argument to _cwait is ignored
38  on Win32 though it is accepted for compatibilty with old MS CRT libs */
39 #define _WAIT_CHILD 0
40 #define _WAIT_GRANDCHILD 1
41 
42 
43 /* function prototypes */
44 
45 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
46 _CRTIMP uintptr_t __cdecl _beginthread (_In_ void (__cdecl * _StartAddress) (void *),
47  _In_ unsigned _StackSize, _In_opt_ void * _ArgList);
48 _CRTIMP void __cdecl _endthread(void);
49 _CRTIMP uintptr_t __cdecl _beginthreadex(_In_opt_ void * _Security, _In_ unsigned _StackSize,
50  _In_ unsigned (__stdcall * _StartAddress) (void *), _In_opt_ void * _ArgList,
51  _In_ unsigned _InitFlag, _Out_opt_ unsigned * _ThrdAddr);
52 _CRTIMP void __cdecl _endthreadex(_In_ unsigned _Retval);
53 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
54 
55 #ifndef _CRT_TERMINATE_DEFINED
56 #define _CRT_TERMINATE_DEFINED
57 #pragma push_macro("exit")
58 #undef exit
59 _CRTIMP __declspec(noreturn) void __cdecl exit(_In_ int _Code);
60 #pragma pop_macro("exit")
61 _CRTIMP __declspec(noreturn) void __cdecl _exit(_In_ int _Code);
62 _CRTIMP __declspec(noreturn) void __cdecl abort(void);
63 #endif /* _CRT_TERMINATE_DEFINED */
64 
65 _CRTIMP void __cdecl _cexit(void);
66 _CRTIMP void __cdecl _c_exit(void);
67 
68 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
69 _CRTIMP int __cdecl _getpid(void);
70 _CRTIMP intptr_t __cdecl _cwait(_Out_opt_ int * _TermStat, _In_ intptr_t _ProcHandle, _In_ int _Action);
71 _CRTIMP intptr_t __cdecl _execl(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
72 _CRTIMP intptr_t __cdecl _execle(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
73 _CRTIMP intptr_t __cdecl _execlp(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
74 _CRTIMP intptr_t __cdecl _execlpe(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
75 _CRTIMP intptr_t __cdecl _execv(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
76 _CRTIMP intptr_t __cdecl _execve(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList, _In_opt_z_ const char * const * _Env);
77 _CRTIMP intptr_t __cdecl _execvp(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
78 _CRTIMP intptr_t __cdecl _execvpe(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList, _In_opt_z_ const char * const * _Env);
79 _CRTIMP intptr_t __cdecl _spawnl(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
80 _CRTIMP intptr_t __cdecl _spawnle(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
81 _CRTIMP intptr_t __cdecl _spawnlp(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
82 _CRTIMP intptr_t __cdecl _spawnlpe(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
83 _CRTIMP intptr_t __cdecl _spawnv(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
84 _CRTIMP intptr_t __cdecl _spawnve(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList,
85  _In_opt_z_ const char * const * _Env);
86 _CRTIMP intptr_t __cdecl _spawnvp(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
87 _CRTIMP intptr_t __cdecl _spawnvpe(_In_ int _Mode, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList,
88  _In_opt_z_ const char * const * _Env);
89 
90 #ifndef _CRT_SYSTEM_DEFINED
91 #define _CRT_SYSTEM_DEFINED
92 _CRTIMP int __cdecl system(_In_opt_z_ const char * _Command);
93 #endif /* _CRT_SYSTEM_DEFINED */
94 
95 #ifndef _WPROCESS_DEFINED
96 /* wide function prototypes, also declared in wchar.h */
97 _CRTIMP intptr_t __cdecl _wexecl(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
98 _CRTIMP intptr_t __cdecl _wexecle(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
99 _CRTIMP intptr_t __cdecl _wexeclp(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
100 _CRTIMP intptr_t __cdecl _wexeclpe(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
101 _CRTIMP intptr_t __cdecl _wexecv(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
102 _CRTIMP intptr_t __cdecl _wexecve(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
103  _In_opt_z_ const wchar_t * const * _Env);
104 _CRTIMP intptr_t __cdecl _wexecvp(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
105 _CRTIMP intptr_t __cdecl _wexecvpe(_In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
106  _In_opt_z_ const wchar_t * const * _Env);
107 _CRTIMP intptr_t __cdecl _wspawnl(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
108 _CRTIMP intptr_t __cdecl _wspawnle(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
109 _CRTIMP intptr_t __cdecl _wspawnlp(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
110 _CRTIMP intptr_t __cdecl _wspawnlpe(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * _ArgList, ...);
111 _CRTIMP intptr_t __cdecl _wspawnv(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
112 _CRTIMP intptr_t __cdecl _wspawnve(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
113  _In_opt_z_ const wchar_t * const * _Env);
114 _CRTIMP intptr_t __cdecl _wspawnvp(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList);
115 _CRTIMP intptr_t __cdecl _wspawnvpe(_In_ int _Mode, _In_z_ const wchar_t * _Filename, _In_z_ const wchar_t * const * _ArgList,
116  _In_opt_z_ const wchar_t * const * _Env);
117 #ifndef _CRT_WSYSTEM_DEFINED
118 #define _CRT_WSYSTEM_DEFINED
119 _CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t * _Command);
120 #endif /* _CRT_WSYSTEM_DEFINED */
121 
122 #define _WPROCESS_DEFINED
123 #endif /* _WPROCESS_DEFINED */
124 
125 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
126 
127 /*
128  * Security check initialization and failure reporting used by /GS security
129  * checks.
130  */
131 #if !defined (_M_CEE)
132 void __cdecl __security_init_cookie(void);
133 #ifdef _M_IX86
134 void __fastcall __security_check_cookie(_In_ uintptr_t _StackCookie);
135 __declspec(noreturn) void __cdecl __report_gsfailure(void);
136 #else /* _M_IX86 */
137 void __cdecl __security_check_cookie(_In_ uintptr_t _StackCookie);
138 __declspec(noreturn) void __cdecl __report_gsfailure(_In_ uintptr_t _StackCookie);
139 #endif /* _M_IX86 */
140 #endif /* !defined (_M_CEE) */
142 
143 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
144 /* --------- The following functions are OBSOLETE --------- */
145 /*
146  * The Win32 API LoadLibrary, FreeLibrary and GetProcAddress should be used
147  * instead.
148  */
149 
150 _CRT_OBSOLETE(LoadLibrary) intptr_t __cdecl _loaddll(_In_z_ char * _Filename);
151 _CRT_OBSOLETE(FreeLibrary) int __cdecl _unloaddll(_In_ intptr_t _Handle);
152 _CRT_OBSOLETE(GetProcAddress) int (__cdecl * __cdecl _getdllprocaddr(_In_ intptr_t _Handle, _In_opt_z_ char * _ProcedureName, _In_ intptr_t _Ordinal))(void);
153 
154 /* --------- The preceding functions are OBSOLETE --------- */
155 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
156 
157 
158 #ifdef _DECL_DLLMAIN
159 /*
160  * Declare DLL notification (initialization/termination) routines
161  * The preferred method is for the user to provide DllMain() which will
162  * be called automatically by the DLL entry point defined by the C run-
163  * time library code. If the user wants to define the DLL entry point
164  * routine, the user's entry point must call _CRT_INIT on all types of
165  * notifications, as the very first thing on attach notifications and
166  * as the very last thing on detach notifications.
167  */
168 #ifdef _WINDOWS_
169 #if defined (MRTDLL) && defined(_CRTBLD)
170 BOOL __clrcall DllMain(_In_ HANDLE _HDllHandle, _In_ DWORD _Reason, _In_opt_ LPVOID _Reserved);
171 BOOL _CRT_INIT(_In_ HANDLE _HDllHandle, _In_ DWORD _Reason, _In_opt_ LPVOID _Reserved);
172 #else /* defined (MRTDLL) */
173 BOOL WINAPI DllMain(_In_ HANDLE _HDllHandle, _In_ DWORD _Reason, _In_opt_ LPVOID _Reserved);
174 BOOL WINAPI _CRT_INIT(_In_ HANDLE _HDllHandle, _In_ DWORD _Reason, _In_opt_ LPVOID _Reserved);
175 #endif /* defined (MRTDLL) */
176 BOOL WINAPI _wCRT_INIT(_In_ HANDLE _HDllHandle, _In_ DWORD _Reason, _In_opt_ LPVOID _Reserved);
177 extern BOOL (WINAPI * const _pRawDllMain)(HANDLE, DWORD, LPVOID);
178 #else /* _WINDOWS_ */
179 int __stdcall DllMain(_In_ void * _HDllHandle, _In_ unsigned _Reason, _In_opt_ void * _Reserved);
180 int __stdcall _CRT_INIT(_In_ void * _HDllHandle, _In_ unsigned _Reason, _In_opt_ void * _Reserved);
181 int __stdcall _wCRT_INIT(_In_ void * _HDllHandle, _In_ unsigned _Reason, _In_opt_ void * _Reserved);
182 extern int (__stdcall * const _pRawDllMain)(void *, unsigned, void *);
183 #endif /* _WINDOWS_ */
184 #endif /* _DECL_DLLMAIN */
185 
186 #if !__STDC__
187 
188 /* Non-ANSI names for compatibility */
189 
190 #define P_WAIT _P_WAIT
191 #define P_NOWAIT _P_NOWAIT
192 #define P_OVERLAY _P_OVERLAY
193 #define OLD_P_OVERLAY _OLD_P_OVERLAY
194 #define P_NOWAITO _P_NOWAITO
195 #define P_DETACH _P_DETACH
196 #define WAIT_CHILD _WAIT_CHILD
197 #define WAIT_GRANDCHILD _WAIT_GRANDCHILD
198 
199 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
200 
201 /* current declarations */
203 _CRT_NONSTDC_DEPRECATE(_execl) _CRTIMP intptr_t __cdecl execl(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
204 _CRT_NONSTDC_DEPRECATE(_execle) _CRTIMP intptr_t __cdecl execle(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
205 _CRT_NONSTDC_DEPRECATE(_execlp) _CRTIMP intptr_t __cdecl execlp(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
206 _CRT_NONSTDC_DEPRECATE(_execlpe) _CRTIMP intptr_t __cdecl execlpe(_In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
207 _CRT_NONSTDC_DEPRECATE(_execv) _CRTIMP intptr_t __cdecl execv(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
208 _CRT_NONSTDC_DEPRECATE(_execve) _CRTIMP intptr_t __cdecl execve(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList, _In_opt_z_ const char * const * _Env);
209 _CRT_NONSTDC_DEPRECATE(_execvp) _CRTIMP intptr_t __cdecl execvp(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
210 _CRT_NONSTDC_DEPRECATE(_execvpe) _CRTIMP intptr_t __cdecl execvpe(_In_z_ const char * _Filename, _In_z_ const char * const * _ArgList, _In_opt_z_ const char * const * _Env);
211 _CRT_NONSTDC_DEPRECATE(_spawnl) _CRTIMP intptr_t __cdecl spawnl(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
212 _CRT_NONSTDC_DEPRECATE(_spawnle) _CRTIMP intptr_t __cdecl spawnle(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
213 _CRT_NONSTDC_DEPRECATE(_spawnlp) _CRTIMP intptr_t __cdecl spawnlp(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
214 _CRT_NONSTDC_DEPRECATE(_spawnlpe) _CRTIMP intptr_t __cdecl spawnlpe(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * _ArgList, ...);
215 _CRT_NONSTDC_DEPRECATE(_spawnv) _CRTIMP intptr_t __cdecl spawnv(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
216 _CRT_NONSTDC_DEPRECATE(_spawnve) _CRTIMP intptr_t __cdecl spawnve(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList,
217  _In_opt_z_ const char * const * _Env);
218 _CRT_NONSTDC_DEPRECATE(_spawnvp) _CRTIMP intptr_t __cdecl spawnvp(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList);
219 _CRT_NONSTDC_DEPRECATE(_spawnvpe) _CRTIMP intptr_t __cdecl spawnvpe(_In_ int, _In_z_ const char * _Filename, _In_z_ const char * const * _ArgList,
220  _In_opt_z_ const char * const * _Env);
221 
222 _CRT_NONSTDC_DEPRECATE(_getpid) _CRTIMP int __cdecl getpid(void);
223 
224 #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
225 
226 #endif /* !__STDC__ */
227 
228 #ifdef __cplusplus
229 }
230 #endif /* __cplusplus */
231 
232 
233 #endif /* _INC_PROCESS */
_CRTIMP intptr_t __cdecl _execle(_In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
_CRTIMP intptr_t __cdecl _wspawnve(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
_CRTIMP intptr_t __cdecl _spawnve(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *const *_ArgList, _In_opt_z_ const char *const *_Env)
_CRTIMP intptr_t __cdecl _execlp(_In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
uintptr_t __security_cookie
void __cdecl __security_check_cookie(_In_ uintptr_t _StackCookie)
#define _Out_opt_
Definition: sal.h:352
_Check_return_ _In_ int _Mode
Definition: io.h:338
#define _CRTIMP
Definition: crtdefs.h:23
_CRTIMP intptr_t __cdecl _spawnlp(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
void __cdecl __security_init_cookie(void)
_CRTIMP intptr_t __cdecl _cwait(_Out_opt_ int *_TermStat, _In_ intptr_t _ProcHandle, _In_ int _Action)
_CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t *_Command)
_CRTIMP void __cdecl _cexit(void)
_CRT_OBSOLETE(LoadLibrary) intptr_t __cdecl _loaddll(_In_z_ char *_Filename)
_CRTIMP __declspec(noreturn) void __cdecl exit(_In_ int _Code)
Cancels the currently executing task. This function can be called from within the body of a task to a...
Definition: ppltasks.h:203
_CRTIMP intptr_t __cdecl _wspawnlpe(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP _In_opt_z_ const wchar_t _In_opt_z_ const wchar_t unsigned int
Definition: crtdefs.h:642
_In_opt_z_ char * _ProcedureName
Definition: process.h:152
_CRTIMP intptr_t __cdecl _execve(_In_z_ const char *_Filename, _In_z_ const char *const *_ArgList, _In_opt_z_ const char *const *_Env)
_CRTIMP uintptr_t __cdecl _beginthreadex(_In_opt_ void *_Security, _In_ unsigned _StackSize, _In_ unsigned(__stdcall *_StartAddress)(void *), _In_opt_ void *_ArgList, _In_ unsigned _InitFlag, _Out_opt_ unsigned *_ThrdAddr)
_In_ intptr_t _In_ int _Action
Definition: process.h:202
_CRTIMP int __cdecl system(_In_opt_z_ const char *_Command)
typedef void(__cdecl *_se_translator_function)(unsigned int
_CRTIMP intptr_t __cdecl _execvpe(_In_z_ const char *_Filename, _In_z_ const char *const *_ArgList, _In_opt_z_ const char *const *_Env)
_W64 unsigned int uintptr_t
Definition: crtdefs.h:521
_CRTIMP intptr_t __cdecl _wspawnvpe(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
_CRTIMP intptr_t __cdecl _wexecv(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
_CRTIMP intptr_t __cdecl _execv(_In_z_ const char *_Filename, _In_z_ const char *const *_ArgList)
_In_opt_z_ char _In_ intptr_t _Ordinal(void)
_CRTIMP void __cdecl _c_exit(void)
_In_z_ const char * _ArgList
Definition: process.h:203
_CRTIMP intptr_t __cdecl _wexecvpe(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
#define _In_opt_z_
Definition: sal.h:320
_CRTIMP intptr_t __cdecl _wexecve(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
#define _In_z_
Definition: sal.h:319
#define _In_
Definition: sal.h:314
_In_z_ const char *const _In_opt_z_ const char *const * _Env
Definition: process.h:208
#define _In_opt_
Definition: sal.h:315
_CRTIMP intptr_t __cdecl _spawnvpe(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *const *_ArgList, _In_opt_z_ const char *const *_Env)
_CRTIMP intptr_t __cdecl _spawnle(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
_CRTIMP intptr_t __cdecl _spawnl(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
_CRTIMP intptr_t __cdecl _spawnvp(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *const *_ArgList)
_CRTIMP intptr_t __cdecl _wspawnl(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _wexeclp(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _wspawnle(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _wspawnv(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
unsigned long DWORD
Definition: concrt.h:57
_CRTIMP intptr_t __cdecl _execvp(_In_z_ const char *_Filename, _In_z_ const char *const *_ArgList)
_In_ intptr_t _ProcHandle
Definition: process.h:202
_In_z_ const char * _Filename
Definition: process.h:211
_CRTIMP intptr_t __cdecl _wspawnlp(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRT_NONSTDC_DEPRECATE(_cwait) _CRTIMP intptr_t __cdecl cwait(_Out_opt_ int *_TermStat
_CRTIMP void __cdecl _endthread(void)
_CRTIMP intptr_t __cdecl _wexecle(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _execl(_In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
_W64 int intptr_t
Definition: crtdefs.h:512
_CRTIMP intptr_t __cdecl _spawnv(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *const *_ArgList)
_CRTIMP intptr_t __cdecl _wexeclpe(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _spawnlpe(_In_ int _Mode, _In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
_CRTIMP uintptr_t __cdecl _beginthread(_In_ void(__cdecl *_StartAddress)(void *), _In_ unsigned _StackSize, _In_opt_ void *_ArgList)
_CRTIMP intptr_t __cdecl _wexecvp(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
_CRTIMP intptr_t __cdecl _wexecl(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _execlpe(_In_z_ const char *_Filename, _In_z_ const char *_ArgList,...)
void * HANDLE
Definition: concrt.h:66
_CRTIMP void __cdecl _endthreadex(_In_ unsigned _Retval)
_CRTIMP int __cdecl _getpid(void)
_CRTIMP intptr_t __cdecl _wspawnvp(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)