ReactOS 0.4.16-dev-853-g88d9285
argv_data.cpp File Reference
#include <corecrt_internal.h>
Include dependency graph for argv_data.cpp:

Go to the source code of this file.

Functions

_BEGIN_SECURE_CRT_DEPRECATION_DISABLE int *__cdecl __p___argc ()
 
char ***__cdecl __p___argv ()
 
wchar_t ***__cdecl __p___wargv ()
 
char **__cdecl __p__pgmptr ()
 
wchar_t **__cdecl __p__wpgmptr ()
 
char **__cdecl __p__acmdln ()
 
wchar_t **__cdecl __p__wcmdln ()
 
errno_t __cdecl _get_wpgmptr (wchar_t **const result)
 
errno_t __cdecl _get_pgmptr (char **const result)
 
_END_SECURE_CRT_DEPRECATION_DISABLE bool __cdecl __acrt_initialize_command_line ()
 
bool __cdecl __acrt_uninitialize_command_line (bool const)
 

Variables

int __argc = 0
 
char ** __argv = nullptr
 
wchar_t ** __wargv = nullptr
 
char_pgmptr = nullptr
 
wchar_t_wpgmptr = nullptr
 
char_acmdln = nullptr
 
wchar_t_wcmdln = nullptr
 

Function Documentation

◆ __acrt_initialize_command_line()

_END_SECURE_CRT_DEPRECATION_DISABLE bool __cdecl __acrt_initialize_command_line ( void  )

Definition at line 61 of file argv_data.cpp.

62{
65 return true;
66}
char * _acmdln
Definition: argv_data.cpp:27
wchar_t * _wcmdln
Definition: argv_data.cpp:28
LPSTR WINAPI GetCommandLineA(VOID)
Definition: proc.c:2009
LPWSTR WINAPI GetCommandLineW(VOID)
Definition: proc.c:2019

◆ __acrt_uninitialize_command_line()

bool __cdecl __acrt_uninitialize_command_line ( bool const  )

Definition at line 68 of file argv_data.cpp.

69{
70 return true;
71}

◆ __p___argc()

Definition at line 32 of file argv_data.cpp.

32{ return &__argc; }
int __argc
Definition: argv_data.cpp:22

Referenced by call_main< decltype(main)>(), call_main< decltype(wmain)>(), and Test___argc().

◆ __p___argv()

char ***__cdecl __p___argv ( void  )

Definition at line 33 of file argv_data.cpp.

33{ return &__argv; }
char ** __argv
Definition: argv_data.cpp:23

Referenced by call_main< decltype(main)>(), ok_argsA_imp(), and Test___argv().

◆ __p___wargv()

wchar_t ***__cdecl __p___wargv ( void  )

Definition at line 34 of file argv_data.cpp.

34{ return &__wargv; }
wchar_t ** __wargv
Definition: argv_data.cpp:24

Referenced by call_main< decltype(wmain)>(), ok_argsW_imp(), and Test___wargv().

◆ __p__acmdln()

char **__cdecl __p__acmdln ( void  )

Definition at line 37 of file argv_data.cpp.

37{ return &_acmdln; }

Referenced by ok_argsA_imp(), and Test__acmdln().

◆ __p__pgmptr()

char **__cdecl __p__pgmptr ( void  )

Definition at line 35 of file argv_data.cpp.

35{ return &_pgmptr; }
char * _pgmptr
Definition: argv_data.cpp:25

Referenced by Test__pgmptr().

◆ __p__wcmdln()

wchar_t **__cdecl __p__wcmdln ( void  )

Definition at line 38 of file argv_data.cpp.

38{ return &_wcmdln; }

Referenced by ok_argsW_imp(), and Test__wcmdln().

◆ __p__wpgmptr()

wchar_t **__cdecl __p__wpgmptr ( void  )

Definition at line 36 of file argv_data.cpp.

36{ return &_wpgmptr; }
wchar_t * _wpgmptr
Definition: argv_data.cpp:26

Referenced by Test__wpgmptr().

◆ _get_pgmptr()

errno_t __cdecl _get_pgmptr ( char **const  result)

Definition at line 49 of file argv_data.cpp.

50{
53 *result = _pgmptr;
54 return 0;
55}
#define EINVAL
Definition: acclib.h:90
GLuint64EXT * result
Definition: glext.h:11304
#define _VALIDATE_RETURN_ERRCODE(expr, errorcode)

◆ _get_wpgmptr()

errno_t __cdecl _get_wpgmptr ( wchar_t **const  result)

Definition at line 40 of file argv_data.cpp.

41{
44
46 return 0;
47}

Variable Documentation

◆ __argc

int __argc = 0

Definition at line 22 of file argv_data.cpp.

Referenced by __p___argc().

◆ __argv

char** __argv = nullptr

Definition at line 23 of file argv_data.cpp.

Referenced by __p___argv().

◆ __wargv

wchar_t** __wargv = nullptr

Definition at line 24 of file argv_data.cpp.

Referenced by __p___wargv().

◆ _acmdln

◆ _pgmptr

char* _pgmptr = nullptr

Definition at line 25 of file argv_data.cpp.

Referenced by __getmainargs(), __p__pgmptr(), and _get_pgmptr().

◆ _wcmdln

◆ _wpgmptr

wchar_t* _wpgmptr = nullptr

Definition at line 26 of file argv_data.cpp.

Referenced by __p__wpgmptr(), __wgetmainargs(), and _get_wpgmptr().