Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
91ab1208
Commit
91ab1208
authored
Feb 20, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed __GetMainArgs.
parent
0ee5f8c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
crtdll.spec
dlls/crtdll/crtdll.spec
+1
-1
crtdll_main.c
dlls/crtdll/crtdll_main.c
+13
-0
No files found.
dlls/crtdll/crtdll.spec
View file @
91ab1208
...
...
@@ -30,7 +30,7 @@ debug_channels (crtdll)
@ forward _CItanh msvcrt._CItanh
@ forward _HUGE_dll msvcrt._HUGE
@ forward _XcptFilter msvcrt._XcptFilter
@
forward __GetMainArgs msvcrt.__getmaina
rgs
@
cdecl __GetMainArgs(ptr ptr ptr long) __GetMainA
rgs
@ forward __argc_dll msvcrt.__argc
@ forward __argv_dll msvcrt.__argv
@ forward __dllonexit msvcrt.__dllonexit
...
...
dlls/crtdll/crtdll_main.c
View file @
91ab1208
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment