23 #define _OLD_P_OVERLAY 2
31 #define _WAIT_GRANDCHILD 1
35 #if _CRT_FUNCTIONS_REQUIRED
51 #endif // _CRT_FUNCTIONS_REQUIRED
61 int __stdcall DllMain(
62 _In_ void* _DllHandle,
63 _In_ unsigned long _Reason,
67 int __stdcall _CRT_INIT(
68 _In_ void* _DllHandle,
69 _In_ unsigned long _Reason,
73 extern int (__stdcall*
const _pRawDllMain)(
void*,
unsigned long,
void*);
79 typedef void (__cdecl* _beginthread_proc_type )(
void*);
101 _In_ unsigned _ReturnCode
106 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
118 _In_z_ char const* _Arguments,
123 _In_z_ char const* _Arguments,
128 _In_z_ char const* _Arguments,
133 _In_z_ char const* _Arguments,
138 _In_z_ char const*
const* _Arguments
143 _In_z_ char const*
const* _Arguments,
149 _In_z_ char const*
const* _Arguments
154 _In_z_ char const*
const* _Arguments,
161 _In_z_ char const* _Arguments,
167 _In_z_ char const* _Arguments,
173 _In_z_ char const* _Arguments,
179 _In_z_ char const* _Arguments,
185 _In_z_ char const*
const* _Arguments
191 _In_z_ char const*
const* _Arguments,
198 _In_z_ char const*
const* _Arguments
204 _In_z_ char const*
const* _Arguments,
227 #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
231 #if _CRT_INTERNAL_NONSTDC_NAMES
233 #define P_WAIT _P_WAIT
234 #define P_NOWAIT _P_NOWAIT
235 #define P_OVERLAY _P_OVERLAY
236 #define OLD_P_OVERLAY _OLD_P_OVERLAY
237 #define P_NOWAITO _P_NOWAITO
238 #define P_DETACH _P_DETACH
239 #define WAIT_CHILD _WAIT_CHILD
240 #define WAIT_GRANDCHILD _WAIT_GRANDCHILD
242 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
253 _In_z_ char const* _FileName,
254 _In_z_ char const* _Arguments,
259 _In_z_ char const* _FileName,
260 _In_z_ char const* _Arguments,
265 _In_z_ char const* _FileName,
266 _In_z_ char const* _Arguments,
271 _In_z_ char const* _FileName,
272 _In_z_ char const* _Arguments,
277 _In_z_ char const* _FileName,
278 _In_z_ char const* const* _Arguments
283 _In_z_ char const* _FileName,
284 _In_z_ char const* const* _Arguments,
290 _In_z_ char const* _FileName,
291 _In_z_ char const* const* _Arguments
296 _In_z_ char const* _FileName,
297 _In_z_ char const* const* _Arguments,
304 _In_z_ char const* _FileName,
305 _In_z_ char const* _Arguments,
311 _In_z_ char const* _FileName,
312 _In_z_ char const* _Arguments,
318 _In_z_ char const* _FileName,
319 _In_z_ char const* _Arguments,
325 _In_z_ char const* _FileName,
326 _In_z_ char const* _Arguments,
332 _In_z_ char const* _FileName,
333 _In_z_ char const* const* _Arguments);
338 _In_z_ char const* _FileName,
339 _In_z_ char const* const* _Arguments,
346 _In_z_ char const* _FileName,
347 _In_z_ char const* const* _Arguments
353 _In_z_ char const* _FileName,
354 _In_z_ char const* const* _Arguments,
361 #endif // _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
363 #endif // _CRT_INTERNAL_NONSTDC_NAMES
_DCRTIMP intptr_t __cdecl _cwait(_Out_opt_ int *_TermStat, _In_ intptr_t _ProcHandle, _In_ int _Action)
_ACRTIMP int __cdecl getpid(void)
_DCRTIMP intptr_t __cdecl execlp(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_DCRTIMP intptr_t __cdecl execvp(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
_In_ unsigned _In_ _beginthreadex_proc_type _In_opt_ void _In_ unsigned _InitFlag
Definition: process.h:93
_DCRTIMP intptr_t __cdecl _execlp(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
#define _ACRTIMP
Definition: corecrt.h:27
_DCRTIMP intptr_t __cdecl _spawnve(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
#define _Out_opt_
Definition: sal.h:343
_ACRTIMP __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:132
void(__stdcall * _tls_callback_type)(void *, unsigned long, void *)
Definition: process.h:48
_In_ unsigned _StackSize
Definition: process.h:93
_DCRTIMP intptr_t __cdecl spawnve(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
_In_ unsigned _In_ _beginthreadex_proc_type _In_opt_ void _In_ unsigned _Out_opt_ unsigned * _ThrdAddr
Definition: process.h:93
_DCRTIMP intptr_t __cdecl _loaddll(_In_z_ char *_FileName)
_DCRTIMP intptr_t __cdecl execve(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
_DCRTIMP intptr_t __cdecl spawnv(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
_CRT_OBSOLETE(iswctype) _DCRTIMP int __cdecl is_wctype(_In_ wint_t _C
_DCRTIMP intptr_t __cdecl _execlpe(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_In_ long
Definition: corecrt_wstdlib.h:88
_DCRTIMP _GetDllProcAddrProcType __cdecl _getdllprocaddr(_In_ intptr_t _Handle, _In_opt_z_ char *_ProcedureName, _In_ intptr_t _Ordinal)
_In_ unsigned _In_ _beginthreadex_proc_type _In_opt_ void * _ArgList
Definition: process.h:93
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:73
_DCRTIMP intptr_t __cdecl _spawnv(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
int(__cdecl * _GetDllProcAddrProcType)(void)
Definition: process.h:218
_DCRTIMP int __cdecl _unloaddll(_In_ intptr_t _Handle)
_DCRTIMP intptr_t __cdecl spawnlp(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
unsigned int uintptr_t
Definition: vadefs.h:30
_DCRTIMP intptr_t __cdecl execv(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
#define _In_opt_z_
Definition: sal.h:311
_DCRTIMP intptr_t __cdecl _execvp(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
#define _In_z_
Definition: sal.h:310
_DCRTIMP intptr_t __cdecl spawnlpe(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
#define _In_
Definition: sal.h:305
_DCRTIMP intptr_t __cdecl _spawnl(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
#define _In_opt_
Definition: sal.h:306
_DCRTIMP intptr_t __cdecl _execl(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_DCRTIMP intptr_t __cdecl _spawnle(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_DCRTIMP intptr_t __cdecl spawnl(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
#define _DCRTIMP
Definition: corecrt.h:43
_ACRTIMP void __cdecl _register_thread_local_exe_atexit_callback(_In_ _tls_callback_type _Callback)
_Check_return_ _In_z_ wchar_t const * _Mode
Definition: corecrt_wstdio.h:133
typedef void(__cdecl *_beginthread_proc_type)(void *)
_DCRTIMP intptr_t __cdecl _spawnvpe(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
_ACRTIMP void __cdecl _cexit(void)
char int *typedef int(__CRTDECL *_CRT_REPORT_HOOKW)(int
Definition: crtdbg.h:45
_DCRTIMP intptr_t __cdecl _spawnlpe(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_DCRTIMP intptr_t __cdecl spawnle(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_DCRTIMP intptr_t __cdecl _execve(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
_ACRTIMP uintptr_t __cdecl _beginthread(_In_ _beginthread_proc_type _StartAddress, _In_ unsigned _StackSize, _In_opt_ void *_ArgList)
_DCRTIMP intptr_t __cdecl cwait(_Out_opt_ int *_TermStat, _In_ intptr_t _ProcHandle, _In_ int _Action)
_DCRTIMP intptr_t __cdecl _execvpe(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
_DCRTIMP intptr_t __cdecl spawnvp(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
_DCRTIMP intptr_t __cdecl _execle(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
#define _CRT_NONSTDC_DEPRECATE(_NewName)
Definition: corecrt.h:300
int intptr_t
Definition: vcruntime.h:200
_In_ unsigned _In_ _beginthreadex_proc_type _StartAddress
Definition: process.h:93
_In_opt_z_ wchar_t const _In_opt_z_ wchar_t const * _FileName
Definition: corecrt.h:253
#define _CRT_END_C_HEADER
Definition: vcruntime.h:76
_DCRTIMP intptr_t __cdecl execvpe(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
_DCRTIMP intptr_t __cdecl _spawnvp(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
_DCRTIMP intptr_t __cdecl _spawnlp(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_Success_(return!=0) _ACRTIMP uintptr_t __cdecl _beginthreadex(_In_opt_ void *_Security
_ACRTIMP void __cdecl _endthread(void)
_DCRTIMP intptr_t __cdecl execlpe(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
unsigned(__stdcall * _beginthreadex_proc_type)(void *)
Definition: process.h:80
_ACRTIMP void __cdecl _endthreadex(_In_ unsigned _ReturnCode)
_DCRTIMP intptr_t __cdecl execle(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_DCRTIMP int __cdecl system(_In_opt_z_ char const *_Command)
_DCRTIMP intptr_t __cdecl spawnvpe(_In_ int _Mode, _In_z_ char const *_FileName, _In_z_ char const *const *_Arguments, _In_opt_z_ char const *const *_Environment)
_ACRTIMP int __cdecl _getpid(void)
_In_opt_z_ wchar_t const _In_opt_z_ wchar_t const _In_ unsigned int _In_ uintptr_t _Reserved
Definition: corecrt.h:253
_DCRTIMP intptr_t __cdecl execl(_In_z_ char const *_FileName, _In_z_ char const *_Arguments,...)
_DCRTIMP intptr_t __cdecl _execv(_In_z_ char const *_FileName, _In_z_ char const *const *_Arguments)
_ACRTIMP void __cdecl _c_exit(void)