include: Add corecrt_startup.h header.
[wine.git] / include / msvcrt / corecrt_startup.h
blobcd374ec10b6dd53e4381b830ec04408cc49a5cfb
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
4 */
6 #ifndef _INC_CORECRT_STARTUP
7 #define _INC_CORECRT_STARTUP
9 #include <corecrt.h>
11 typedef enum _crt_argv_mode
13 _crt_argv_no_arguments,
14 _crt_argv_unexpanded_arguments,
15 _crt_argv_expanded_arguments
16 } _crt_argv_mode;
18 typedef enum _crt_app_type
20 _crt_unknown_app,
21 _crt_console_app,
22 _crt_gui_app
23 } _crt_app_type;
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 #ifndef _UCRT
30 _ACRTIMP void __cdecl __getmainargs(int *, char ***, char ***, int, int *);
31 _ACRTIMP void __cdecl __wgetmainargs(int *, wchar_t ***, wchar_t ***, int, int *);
32 #define _set_app_type __set_app_type
33 #endif /* _UCRT */
35 _ACRTIMP errno_t __cdecl _configure_narrow_argv(_crt_argv_mode);
36 _ACRTIMP errno_t __cdecl _configure_wide_argv(_crt_argv_mode);
37 _ACRTIMP char **__cdecl _get_initial_narrow_environment(void);
38 _ACRTIMP wchar_t **__cdecl _get_initial_wide_environment(void);
39 _ACRTIMP int __cdecl _initialize_narrow_environment(void);
40 _ACRTIMP int __cdecl _initialize_wide_environment(void);
41 _ACRTIMP void __cdecl _set_app_type(_crt_app_type);
43 #ifdef __cplusplus
45 #endif
47 #endif /* _INC_CORECRT_STARTUP */