ReactOS 0.4.16-dev-2104-gb84fa49
process.h
Go to the documentation of this file.
1
6#ifndef _INC_PROCESS
7#define _INC_PROCESS
8
9#include <corecrt.h>
10
11/* Includes a definition of _pid_t and pid_t */
12#include <sys/types.h>
13
14#ifndef _POSIX_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#define _P_WAIT 0
21#define _P_NOWAIT 1
22#define _OLD_P_OVERLAY 2
23#define _P_NOWAITO 3
24#define _P_DETACH 4
25#define _P_OVERLAY 2
26
27#define _WAIT_CHILD 0
28#define _WAIT_GRANDCHILD 1
29
34 _In_ void(__cdecl *_StartAddress) (void *),
35 _In_ unsigned _StackSize,
36 _In_opt_ void *_ArgList);
37
38 _CRTIMP void __cdecl _endthread(void);
39
44 _In_opt_ void *_Security,
45 _In_ unsigned _StackSize,
46 _In_ unsigned(__stdcall *_StartAddress) (void *),
47 _In_opt_ void *_ArgList,
48 _In_ unsigned _InitFlag,
49 _Out_opt_ unsigned *_ThrdAddr);
50
51 _CRTIMP void __cdecl _endthreadex(_In_ unsigned _Retval);
52
53#ifndef _CRT_TERMINATE_DEFINED
54#define _CRT_TERMINATE_DEFINED
55 __declspec(noreturn) void __cdecl exit(_In_ int _Code);
56 _CRTIMP __declspec(noreturn) void __cdecl _exit(_In_ int _Code);
57#if !defined __NO_ISOCEXT /* extern stub in static libmingwex.a */
58 /* C99 function name */
59 __declspec(noreturn) void __cdecl _Exit(int); /* Declare to get noreturn attribute. */
60 __CRT_INLINE void __cdecl _Exit(int status)
61 { _exit(status); }
62#endif
63#if __MINGW_GNUC_PREREQ(4,4)
64#pragma push_macro("abort")
65#undef abort
66#endif
67 __declspec(noreturn) void __cdecl abort(void);
68#if __MINGW_GNUC_PREREQ(4,4)
69#pragma pop_macro("abort")
70#endif
71#endif
72
75 _CRTIMP int __cdecl _getpid(void);
76
81 _Out_opt_ int *_TermStat,
82 _In_ intptr_t _ProcHandle,
83 _In_ int _Action);
84
89 _In_z_ const char *_Filename,
90 _In_z_ const char *_ArgList,
91 ...);
92
97 _In_z_ const char *_Filename,
98 _In_z_ const char *_ArgList,
99 ...);
100
101 _CRTIMP
103 __cdecl
105 _In_z_ const char *_Filename,
106 _In_z_ const char *_ArgList,
107 ...);
108
109 _CRTIMP
111 __cdecl
113 _In_z_ const char *_Filename,
114 _In_z_ const char *_ArgList,
115 ...);
116
117 _CRTIMP
119 __cdecl
121 _In_z_ const char *_Filename,
122 _In_z_ const char *const *_ArgList);
123
124 _CRTIMP
126 __cdecl
128 _In_z_ const char *_Filename,
129 _In_z_ const char *const *_ArgList,
130 _In_opt_z_ const char *const *_Env);
131
132 _CRTIMP
134 __cdecl
136 _In_z_ const char *_Filename,
137 _In_z_ const char *const *_ArgList);
138
139 _CRTIMP
141 __cdecl
143 _In_z_ const char *_Filename,
144 _In_z_ const char *const *_ArgList,
145 _In_opt_z_ const char *const *_Env);
146
147 _CRTIMP
149 __cdecl
151 _In_ int _Mode,
152 _In_z_ const char *_Filename,
153 _In_z_ const char *_ArgList,
154 ...);
155
156 _CRTIMP
158 __cdecl
160 _In_ int _Mode,
161 _In_z_ const char *_Filename,
162 _In_z_ const char *_ArgList,
163 ...);
164
165 _CRTIMP
167 __cdecl
169 _In_ int _Mode,
170 _In_z_ const char *_Filename,
171 _In_z_ const char *_ArgList,
172 ...);
173
174 _CRTIMP
176 __cdecl
178 _In_ int _Mode,
179 _In_z_ const char *_Filename,
180 _In_z_ const char *_ArgList,
181 ...);
182
183 _CRTIMP
185 __cdecl
187 _In_ int _Mode,
188 _In_z_ const char *_Filename,
189 _In_z_ const char *const *_ArgList);
190
191 _CRTIMP
193 __cdecl
195 _In_ int _Mode,
196 _In_z_ const char *_Filename,
197 _In_z_ const char *const *_ArgList,
198 _In_opt_z_ const char *const *_Env);
199
200 _CRTIMP
202 __cdecl
204 _In_ int _Mode,
205 _In_z_ const char *_Filename,
206 _In_z_ const char *const *_ArgList);
207
208 _CRTIMP
210 __cdecl
212 _In_ int _Mode,
213 _In_z_ const char *_Filename,
214 _In_z_ const char *const *_ArgList,
215 _In_opt_z_ const char *const *_Env);
216
217#ifndef _CRT_SYSTEM_DEFINED
218#define _CRT_SYSTEM_DEFINED
219 int __cdecl system(_In_opt_z_ const char *_Command);
220#endif
221
222#ifndef _WPROCESS_DEFINED
223#define _WPROCESS_DEFINED
224
225 _CRTIMP
227 __cdecl
229 _In_z_ const wchar_t *_Filename,
230 _In_z_ const wchar_t *_ArgList,
231 ...);
232
233 _CRTIMP
235 __cdecl
237 _In_z_ const wchar_t *_Filename,
238 _In_z_ const wchar_t *_ArgList,
239 ...);
240
241 _CRTIMP
243 __cdecl
245 _In_z_ const wchar_t *_Filename,
246 _In_z_ const wchar_t *_ArgList,
247 ...);
248
249 _CRTIMP
251 __cdecl
253 _In_z_ const wchar_t *_Filename,
254 _In_z_ const wchar_t *_ArgList,
255 ...);
256
257 _CRTIMP
259 __cdecl
261 _In_z_ const wchar_t *_Filename,
262 _In_z_ const wchar_t *const *_ArgList);
263
264 _CRTIMP
266 __cdecl
268 _In_z_ const wchar_t *_Filename,
269 _In_z_ const wchar_t *const *_ArgList,
270 _In_opt_z_ const wchar_t *const *_Env);
271
272 _CRTIMP
274 __cdecl
276 _In_z_ const wchar_t *_Filename,
277 _In_z_ const wchar_t *const *_ArgList);
278
279 _CRTIMP
281 __cdecl
283 _In_z_ const wchar_t *_Filename,
284 _In_z_ const wchar_t *const *_ArgList,
285 _In_opt_z_ const wchar_t *const *_Env);
286
287 _CRTIMP
289 __cdecl
291 _In_ int _Mode,
292 _In_z_ const wchar_t *_Filename,
293 _In_z_ const wchar_t *_ArgList,
294 ...);
295
296 _CRTIMP
298 __cdecl
300 _In_ int _Mode,
301 _In_z_ const wchar_t *_Filename,
302 _In_z_ const wchar_t *_ArgList,
303 ...);
304
305 _CRTIMP
307 __cdecl
309 _In_ int _Mode,
310 _In_z_ const wchar_t *_Filename,
311 _In_z_ const wchar_t *_ArgList,
312 ...);
313
314 _CRTIMP
316 __cdecl
318 _In_ int _Mode,
319 _In_z_ const wchar_t *_Filename,
320 _In_z_ const wchar_t *_ArgList,
321 ...);
322
323 _CRTIMP
325 __cdecl
327 _In_ int _Mode,
328 _In_z_ const wchar_t *_Filename,
329 _In_z_ const wchar_t *const *_ArgList);
330
331 _CRTIMP
333 __cdecl
335 _In_ int _Mode,
336 _In_z_ const wchar_t *_Filename,
337 _In_z_ const wchar_t *const *_ArgList,
338 _In_opt_z_ const wchar_t *const *_Env);
339
340 _CRTIMP
342 __cdecl
344 _In_ int _Mode,
345 _In_z_ const wchar_t *_Filename,
346 _In_z_ const wchar_t *const *_ArgList);
347
348 _CRTIMP
350 __cdecl
352 _In_ int _Mode,
353 _In_z_ const wchar_t *_Filename,
354 _In_z_ const wchar_t *const *_ArgList,
355 _In_opt_z_ const wchar_t *const *_Env);
356
357#ifndef _CRT_WSYSTEM_DEFINED
358#define _CRT_WSYSTEM_DEFINED
359 _CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t *_Command);
360#endif /* _CRT_WSYSTEM_DEFINED */
361
362#endif /* _WPROCESS_DEFINED */
363
365#if (defined(_X86_) && !defined(__x86_64))
367 __declspec(noreturn) void __cdecl __report_gsfailure(void);
368#else
370 __declspec(noreturn) void __cdecl __report_gsfailure(uintptr_t _StackCookie);
371#endif
373
376 int (__cdecl *__cdecl _getdllprocaddr(_In_ intptr_t _Handle, _In_opt_z_ char *_ProcedureName, _In_ intptr_t _Ordinal))(void);
377
378#ifdef _DECL_DLLMAIN
379
380#ifdef _WIN32
381
382 WINBOOL
383 WINAPI
384 DllMain(
385 _In_ HANDLE _HDllHandle,
386 _In_ DWORD _Reason,
388
389 WINBOOL
390 WINAPI
391 _CRT_INIT(
392 _In_ HANDLE _HDllHandle,
393 _In_ DWORD _Reason,
395
396 WINBOOL
397 WINAPI
398 _wCRT_INIT(
399 _In_ HANDLE _HDllHandle,
400 _In_ DWORD _Reason,
402
403 extern WINBOOL (WINAPI *const _pRawDllMain)(HANDLE,DWORD,LPVOID);
404
405#else /* _WIN32 */
406
407 int
409 DllMain(
410 _In_ void *_HDllHandle,
411 _In_ unsigned _Reason,
412 _In_opt_ void *_Reserved);
413
414 int
416 _CRT_INIT(
417 _In_ void *_HDllHandle,
418 _In_ unsigned _Reason,
419 _In_opt_ void *_Reserved);
420
421 int
423 _wCRT_INIT(
424 _In_ void *_HDllHandle,
425 _In_ unsigned _Reason,
426 _In_opt_ void *_Reserved);
427
428 extern int (__stdcall *const _pRawDllMain)(void *,unsigned,void *);
429
430#endif /* _WIN32 */
431
432#endif /* _DECL_DLLMAIN */
433
434#ifndef NO_OLDNAMES
435
436#define P_WAIT _P_WAIT
437#define P_NOWAIT _P_NOWAIT
438#define P_OVERLAY _P_OVERLAY
439#define OLD_P_OVERLAY _OLD_P_OVERLAY
440#define P_NOWAITO _P_NOWAITO
441#define P_DETACH _P_DETACH
442#define WAIT_CHILD _WAIT_CHILD
443#define WAIT_GRANDCHILD _WAIT_GRANDCHILD
444
445 _CRTIMP
447 __cdecl
449 _Out_opt_ int *_TermStat,
450 _In_ intptr_t _ProcHandle,
451 _In_ int _Action);
452
453#ifdef __GNUC__
454
455 _CRTIMP
456 int
457 __cdecl
458 execl(
459 _In_z_ const char *_Filename,
460 _In_z_ const char *_ArgList,
461 ...);
462
463 _CRTIMP
464 int
465 __cdecl
466 execle(
467 _In_z_ const char *_Filename,
468 _In_z_ const char *_ArgList,
469 ...);
470
471 _CRTIMP
472 int
473 __cdecl
474 execlp(
475 _In_z_ const char *_Filename,
476 _In_z_ const char *_ArgList,
477 ...);
478
479 _CRTIMP
480 int
481 __cdecl
482 execlpe(
483 _In_z_ const char *_Filename,
484 _In_z_ const char *_ArgList,
485 ...);
486
487#else /* __GNUC__ */
488
489 _CRTIMP
491 __cdecl
493 _In_z_ const char *_Filename,
494 _In_z_ const char *_ArgList,
495 ...);
496
497 _CRTIMP
499 __cdecl
501 _In_z_ const char *_Filename,
502 _In_z_ const char *_ArgList,
503 ...);
504
505 _CRTIMP
507 __cdecl
509 _In_z_ const char *_Filename,
510 _In_z_ const char *_ArgList,
511 ...);
512
513 _CRTIMP
515 __cdecl
517 _In_z_ const char *_Filename,
518 _In_z_ const char *_ArgList,
519 ...);
520
521#endif /* __GNUC__ */
522
523 _CRTIMP
525 __cdecl
527 _In_ int,
528 _In_z_ const char *_Filename,
529 _In_z_ const char *_ArgList,
530 ...);
531
532 _CRTIMP
534 __cdecl
536 _In_ int,
537 _In_z_ const char *_Filename,
538 _In_z_ const char *_ArgList,
539 ...);
540
541 _CRTIMP
543 __cdecl
545 _In_ int,
546 _In_z_ const char *_Filename,
547 _In_z_ const char *_ArgList,
548 ...);
549
550 _CRTIMP
552 __cdecl
554 _In_ int,
555 _In_z_ const char *_Filename,
556 _In_z_ const char *_ArgList,
557 ...);
558
560
561#ifdef __GNUC__
562
563 /* Those methods are predefined by gcc builtins to return int. So to prevent
564 stupid warnings, define them in POSIX way. This is save, because those
565 methods do not return in success case, so that the return value is not
566 really dependent to its scalar width. */
567
568 _CRTIMP
569 int
570 __cdecl
571 execv(
572 _In_z_ const char *_Filename,
573 _In_z_ char *const _ArgList[]);
574
575 _CRTIMP
576 int
577 __cdecl
578 execve(
579 _In_z_ const char *_Filename,
580 _In_z_ char *const _ArgList[],
581 _In_opt_z_ char *const _Env[]);
582
583 _CRTIMP
584 int
585 __cdecl
586 execvp(
587 _In_z_ const char *_Filename,
588 _In_z_ char *const _ArgList[]);
589
590 _CRTIMP
591 int
592 __cdecl
593 execvpe(
594 _In_z_ const char *_Filename,
595 _In_z_ char *const _ArgList[],
596 _In_opt_z_ char *const _Env[]);
597
598#else /* __GNUC__ */
599
600 _CRTIMP
602 __cdecl
604 _In_z_ const char *_Filename,
605 _In_z_ char *const _ArgList[]);
606
607 _CRTIMP
609 __cdecl
611 _In_z_ const char *_Filename,
612 _In_z_ char *const _ArgList[],
613 _In_opt_z_ char *const _Env[]);
614
615 _CRTIMP
617 __cdecl
619 _In_z_ const char *_Filename,
620 _In_z_ char *const _ArgList[]);
621
622 _CRTIMP
624 __cdecl
626 _In_z_ const char *_Filename,
627 _In_z_ char *const _ArgList[],
628 _In_opt_z_ char *const _Env[]);
629
630#endif /* __GNUC__ */
631
632 _CRTIMP
634 __cdecl
636 _In_ int,
637 _In_z_ const char *_Filename,
638 _In_z_ char *const _ArgList[]);
639
640 _CRTIMP
642 __cdecl
644 _In_ int,
645 _In_z_ const char *_Filename,
646 _In_z_ char *const _ArgList[],
647 _In_opt_z_ char *const _Env[]);
648
649 _CRTIMP
651 __cdecl
653 _In_ int,
654 _In_z_ const char *_Filename,
655 _In_z_ char *const _ArgList[]);
656
657 _CRTIMP
659 __cdecl
661 _In_ int,
662 _In_z_ const char *_Filename,
663 _In_z_ char *const _ArgList[],
664 _In_opt_z_ char *const _Env[]);
665
666#endif /* NO_OLDNAMES */
667
668#ifdef __cplusplus
669}
670#endif
671
672#endif /* _POSIX_ */
673
674#endif /* _INC_PROCESS */
int intptr_t
Definition: corecrt.h:176
#define __cdecl
Definition: corecrt.h:121
unsigned int uintptr_t
Definition: corecrt.h:185
#define __stdcall
Definition: corecrt.h:120
_ACRTIMP DECLSPEC_NORETURN void __cdecl abort(void)
Aborts the program.
Definition: exit.c:252
_ACRTIMP DECLSPEC_NORETURN void __cdecl _exit(int)
Definition: exit.c:187
_ACRTIMP int __cdecl system(const char *)
Definition: process.c:1297
#define spawnl
Definition: process.h:101
_ACRTIMP intptr_t __cdecl _execvp(const char *, const char *const *)
Definition: process.c:679
#define spawnlpe
Definition: process.h:104
_ACRTIMP intptr_t __cdecl _spawnl(int, const char *, const char *,...)
Definition: process.c:711
_ACRTIMP intptr_t __cdecl _spawnvpe(int, const char *, const char *const *, const char *const *)
Definition: process.c:967
static intptr_t spawnve(int flags, const char *name, const char *const *argv, const char *const *envv)
Definition: process.h:79
#define execle
Definition: process.h:98
#define spawnlp
Definition: process.h:103
_ACRTIMP int __cdecl _getpid(void)
Definition: process.c:1360
#define execv
Definition: process.h:82
_ACRTIMP intptr_t __cdecl _execv(const char *, const char *const *)
Definition: process.c:616
#define execlp
Definition: process.h:99
_ACRTIMP uintptr_t __cdecl _beginthreadex(void *, unsigned int, _beginthreadex_start_routine_t, void *, unsigned int, unsigned int *)
Definition: thread.c:207
#define execvpe
Definition: process.h:85
_ACRTIMP void __cdecl _cexit(void)
Definition: exit.c:336
_ACRTIMP DECLSPEC_NORETURN void __cdecl _endthreadex(unsigned int)
Definition: thread.c:93
_ACRTIMP intptr_t __cdecl _execle(const char *, const char *,...)
Definition: process.c:468
static intptr_t spawnvpe(int flags, const char *name, const char *const *argv, const char *const *envv)
Definition: process.h:81
static intptr_t spawnvp(int flags, const char *name, const char *const *argv)
Definition: process.h:80
_ACRTIMP intptr_t __cdecl _cwait(int *, intptr_t, int)
Definition: process.c:362
_ACRTIMP intptr_t __cdecl _execlp(const char *, const char *,...)
Definition: process.c:522
_ACRTIMP intptr_t __cdecl _execvpe(const char *, const char *const *, const char *const *)
Definition: process.c:658
#define execlpe
Definition: process.h:100
#define execl
Definition: process.h:97
#define execvp
Definition: process.h:84
_ACRTIMP intptr_t __cdecl _spawnlpe(int, const char *, const char *,...)
Definition: process.c:867
static int getpid(void)
Definition: process.h:77
_ACRTIMP uintptr_t __cdecl _beginthread(_beginthread_start_routine_t, unsigned int, void *)
Definition: thread.c:134
static intptr_t spawnv(int flags, const char *name, const char *const *argv)
Definition: process.h:78
static intptr_t cwait(int *status, intptr_t pid, int action)
Definition: process.h:76
_ACRTIMP intptr_t __cdecl _execve(const char *, const char *const *, const char *const *)
Definition: process.c:637
_ACRTIMP intptr_t __cdecl _spawnvp(int, const char *, const char *const *)
Definition: process.c:1013
_ACRTIMP intptr_t __cdecl _spawnv(int, const char *, const char *const *)
Definition: process.c:946
_ACRTIMP intptr_t __cdecl _spawnlp(int, const char *, const char *,...)
Definition: process.c:816
_ACRTIMP void __cdecl _c_exit(void)
Definition: exit.c:327
#define execve
Definition: process.h:83
_ACRTIMP intptr_t __cdecl _execlpe(const char *, const char *,...)
Definition: process.c:573
_ACRTIMP intptr_t __cdecl _spawnle(int, const char *, const char *,...)
Definition: process.c:762
_ACRTIMP DECLSPEC_NORETURN void __cdecl _endthread(void)
Definition: thread.c:73
_ACRTIMP intptr_t __cdecl _execl(const char *, const char *,...)
Definition: process.c:417
_ACRTIMP intptr_t __cdecl _spawnve(int, const char *, const char *const *, const char *const *)
Definition: process.c:900
#define spawnle
Definition: process.h:102
void *CDECL _getdllprocaddr(intptr_t dll, const char *name, int ordinal)
Definition: process.c:1346
_In_z_ _Printf_format_string_ char const *const va_list _ArgList
Definition: printf.c:23
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
unsigned long DWORD
Definition: ntddk_ex.h:95
void __declspec(noinline) __cdecl _free_base(void *const block)
Definition: free_base.cpp:98
BOOL WINAPI DllMain(IN HINSTANCE hinstDLL, IN DWORD dwReason, IN LPVOID lpvReserved)
Definition: indicdll.c:224
#define __fastcall
Definition: sync.c:38
static unsigned(__cdecl *hash_bstr)(bstr_t s)
#define _Out_opt_
Definition: no_sal2.h:214
#define _In_z_
Definition: no_sal2.h:164
#define _In_opt_z_
Definition: no_sal2.h:218
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define LPVOID
Definition: nt_native.h:45
#define DWORD
Definition: nt_native.h:44
_CRTIMP intptr_t __cdecl _wspawnl(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
void __cdecl __security_check_cookie(uintptr_t _StackCookie)
uintptr_t __security_cookie
Definition: gs_support.c:49
_CRTIMP int __cdecl _wsystem(_In_opt_z_ const wchar_t *_Command)
_CRTIMP intptr_t __cdecl _wspawnvp(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
int __cdecl _unloaddll(_In_ intptr_t _Handle)
_CRTIMP intptr_t __cdecl _wspawnv(_In_ int _Mode, _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 _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 _wexecve(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList, _In_opt_z_ const wchar_t *const *_Env)
__CRT_INLINE void __cdecl _Exit(int status)
Definition: process.h:60
_CRTIMP intptr_t __cdecl _wspawnlpe(_In_ int _Mode, _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,...)
void __cdecl __security_init_cookie(void)
Definition: gs_support.c:55
_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 _wexeclp(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _wexeclpe(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_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)
_CRTIMP intptr_t __cdecl _wexecv(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
intptr_t __cdecl _loaddll(_In_z_ char *_Filename)
_CRTIMP intptr_t __cdecl _wexecle(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _wspawnlp(_In_ int _Mode, _In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_ArgList,...)
_CRTIMP intptr_t __cdecl _wexecvp(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *const *_ArgList)
_In_opt_z_ wchar_t const _In_opt_z_ wchar_t const _In_ unsigned int _In_ uintptr_t _Reserved
Definition: corecrt.h:391
_In_ unsigned _In_ _beginthreadex_proc_type _StartAddress
Definition: process.h:99
_In_ unsigned _StackSize
Definition: process.h:98
_In_ unsigned _In_ _beginthreadex_proc_type _In_opt_ void _In_ unsigned _Out_opt_ unsigned * _ThrdAddr
Definition: process.h:103
_In_ unsigned _In_ _beginthreadex_proc_type _In_opt_ void _In_ unsigned _InitFlag
Definition: process.h:101
_Pre_notnull_ _In_opt_z_ char const _In_opt_z_ char const _In_opt_z_ char const _Filename
Definition: stdlib.h:1100
#define exit(n)
Definition: config.h:202
#define __analysis_noreturn
Definition: specstrings.h:262
Definition: ps.c:97
int32_t WINBOOL
Definition: typedefs.h:58
PVOID HANDLE
Definition: typedefs.h:73
#define _CRTIMP
Definition: vcruntime.h:54
#define WINAPI
Definition: msvc.h:6