1 /* 2 * PROJECT: ReactOS SDK 3 * LICENSE: MIT (https://spdx.org/licenses/MIT) 4 * PURPOSE: Definitions for CRT startup functionality 5 * COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org) 6 */ 7 8 #pragma once 9 10 #include <vcruntime.h> 11 12 _CRT_BEGIN_C_HEADER 13 14 typedef enum _crt_argv_mode 15 { 16 _crt_argv_no_arguments, 17 _crt_argv_unexpanded_arguments, 18 _crt_argv_expanded_arguments, 19 } _crt_argv_mode; 20 21 typedef enum _crt_exit_cleanup_mode 22 { 23 _crt_exit_full_cleanup, 24 _crt_exit_quick_cleanup, 25 _crt_exit_no_cleanup 26 } _crt_exit_cleanup_mode; 27 28 typedef enum _crt_exit_return_mode 29 { 30 _crt_exit_terminate_process, 31 _crt_exit_return_to_caller 32 } _crt_exit_return_mode; 33 34 __vcrt_bool __cdecl __vcrt_initialize(void); 35 __vcrt_bool __cdecl __vcrt_uninitialize(_In_ __vcrt_bool _Terminating); 36 37 int __cdecl __isa_available_init(void); 38 39 _CRT_END_C_HEADER 40