Fixed __GetMainArgs.
This commit is contained in:
parent
0ee5f8c628
commit
91ab1208c4
|
@ -30,7 +30,7 @@ debug_channels (crtdll)
|
|||
@ forward _CItanh msvcrt._CItanh
|
||||
@ forward _HUGE_dll msvcrt._HUGE
|
||||
@ forward _XcptFilter msvcrt._XcptFilter
|
||||
@ forward __GetMainArgs msvcrt.__getmainargs
|
||||
@ cdecl __GetMainArgs(ptr ptr ptr long) __GetMainArgs
|
||||
@ forward __argc_dll msvcrt.__argc
|
||||
@ forward __argv_dll msvcrt.__argv
|
||||
@ forward __dllonexit msvcrt.__dllonexit
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
DEFAULT_DEBUG_CHANNEL(crtdll);
|
||||
|
||||
/* from msvcrt */
|
||||
extern void __cdecl __getmainargs( int *argc, char ***argv, char **environ,
|
||||
int expand_wildcards, void *_startupinfo );
|
||||
|
||||
/* The following data items are not exported from msvcrt */
|
||||
unsigned int CRTDLL__basemajor_dll;
|
||||
unsigned int CRTDLL__baseminor_dll;
|
||||
|
@ -41,3 +45,12 @@ BOOL WINAPI CRTDLL_Init(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
|
|||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
* __GetMainArgs (CRTDLL.@)
|
||||
*/
|
||||
void __cdecl __GetMainArgs( int *argc, char ***argv, char **environ, int expand_wildcards )
|
||||
{
|
||||
__getmainargs( argc, argv, environ, expand_wildcards, NULL );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue