__getmainargs, __wgetmainargs
Visual Studio 2012
Invokes command-line parsing and copies the arguments to main() back through the passed pointers.
int __getmainargs( int * _Argc, char *** _Argv, char *** _Env, int _DoWildCard, _startupinfo * _StartInfo); int __wgetmainargs ( int *_Argc, wchar_t ***_Argv, wchar_t ***_Env, int _DoWildCard, _startupinfo * _StartInfo)