ReactOS 0.4.16-dev-1028-g8602629
vcruntime_startup.h File Reference
#include <vcruntime.h>
Include dependency graph for vcruntime_startup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef _CRT_BEGIN_C_HEADER enum _crt_argv_mode _crt_argv_mode
 
typedef enum _crt_exit_cleanup_mode _crt_exit_cleanup_mode
 
typedef enum _crt_exit_return_mode _crt_exit_return_mode
 

Enumerations

enum  _crt_argv_mode { _crt_argv_no_arguments , _crt_argv_unexpanded_arguments , _crt_argv_expanded_arguments }
 
enum  _crt_exit_cleanup_mode { _crt_exit_full_cleanup , _crt_exit_quick_cleanup , _crt_exit_no_cleanup }
 
enum  _crt_exit_return_mode { _crt_exit_terminate_process , _crt_exit_return_to_caller }
 

Functions

__vcrt_bool __cdecl __vcrt_initialize (void)
 
__vcrt_bool __cdecl __vcrt_uninitialize (_In_ __vcrt_bool _Terminating)
 
int __cdecl __isa_available_init (void)
 

Typedef Documentation

◆ _crt_argv_mode

◆ _crt_exit_cleanup_mode

◆ _crt_exit_return_mode

Enumeration Type Documentation

◆ _crt_argv_mode

Enumerator
_crt_argv_no_arguments 
_crt_argv_unexpanded_arguments 
_crt_argv_expanded_arguments 

Definition at line 14 of file vcruntime_startup.h.

◆ _crt_exit_cleanup_mode

Enumerator
_crt_exit_full_cleanup 
_crt_exit_quick_cleanup 
_crt_exit_no_cleanup 

Definition at line 21 of file vcruntime_startup.h.

◆ _crt_exit_return_mode

Enumerator
_crt_exit_terminate_process 
_crt_exit_return_to_caller 

Definition at line 28 of file vcruntime_startup.h.

Function Documentation

◆ __isa_available_init()

int __cdecl __isa_available_init ( void  )

Definition at line 21 of file isa_available.cpp.

22{
23#if defined(_M_IX86) || defined(_M_X64)
25 {
27 }
29 {
31 }
33 {
35 }
37 {
39 }
41 {
43 }
44 else
45 {
47 }
48#elif defined(_M_ARM) || defined(_M_ARM64)
49 // CHECKME: Is this correct?
51 {
52#ifdef _M_ARM64
54#else
56#endif
57 }
58 else
59 {
61 }
62#endif
63
64 return 0;
65}
BOOL WINAPI IsProcessorFeaturePresent(IN DWORD ProcessorFeature)
Definition: sysinfo.c:169
@ __ISA_AVAILABLE_SSE2
@ __ISA_AVAILABLE_AVX
@ __ISA_AVAILABLE_SSE42
@ __ISA_AVAILABLE_ARMNT
@ __ISA_AVAILABLE_AVX2
@ __ISA_AVAILABLE_AVX512
@ __ISA_AVAILABLE_X86
@ __ISA_AVAILABLE_NEON_ARM64
@ __ISA_AVAILABLE_NEON
int __isa_available
#define PF_SSE4_2_INSTRUCTIONS_AVAILABLE
Definition: ketypes.h:161
#define PF_XMMI64_INSTRUCTIONS_AVAILABLE
Definition: ketypes.h:134
#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE
Definition: ketypes.h:153
#define PF_AVX2_INSTRUCTIONS_AVAILABLE
Definition: ketypes.h:163
#define PF_AVX_INSTRUCTIONS_AVAILABLE
Definition: ketypes.h:162
#define PF_AVX512F_INSTRUCTIONS_AVAILABLE
Definition: ketypes.h:164

Referenced by __acrt_initialize(), and __scrt_initialize().

◆ __vcrt_initialize()

__vcrt_bool __cdecl __vcrt_initialize ( void  )

Definition at line 18 of file __vcrt_init.c.

19{
21
22 if (!msvcrt_init_tls())
23 return FALSE;
24
25 return TRUE;
26}
void msvcrt_init_exception(HINSTANCE hinstDLL)
BOOL msvcrt_init_tls(void)
Definition: tls.c:9
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define GetModuleHandle
Definition: winbase.h:3858

Referenced by __scrt_initialize(), and DllMainProcessAttach().

◆ __vcrt_uninitialize()

__vcrt_bool __cdecl __vcrt_uninitialize ( _In_ __vcrt_bool  _Terminating)

Definition at line 28 of file __vcrt_init.c.

29{
30 if (!msvcrt_free_tls())
31 return FALSE;
32
33 return TRUE;
34}
BOOL msvcrt_free_tls(void)
Definition: tls.c:21

Referenced by __scrt_initialize(), DllMainProcessAttach(), and uninitialize_vcruntime().