Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
40509127
Commit
40509127
authored
Mar 19, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Mar 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr90: Implement _initterm_e.
parent
8da1d69c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
1 deletion
+33
-1
msvcr90.c
dlls/msvcr90/msvcr90.c
+32
-0
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
No files found.
dlls/msvcr90/msvcr90.c
View file @
40509127
...
...
@@ -22,7 +22,15 @@
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcr90
);
typedef
int
(
CDECL
*
_INITTERM_E_FN
)(
void
);
/*********************************************************************
* DllMain (MSVCR90.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hdll
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
...
...
@@ -35,3 +43,27 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
}
return
TRUE
;
}
/*********************************************************************
* _initterm_e (MSVCR90.@)
*
* call an array of application initialization functions and report the return value
*/
int
CDECL
_initterm_e
(
_INITTERM_E_FN
*
table
,
_INITTERM_E_FN
*
end
)
{
int
res
=
0
;
TRACE
(
"(%p, %p)
\n
"
,
table
,
end
);
while
(
!
res
&&
table
<
end
)
{
if
(
*
table
)
{
res
=
(
**
table
)();
if
(
res
)
TRACE
(
"function %p failed: 0x%x
\n
"
,
*
table
,
res
);
}
table
++
;
}
return
res
;
}
dlls/msvcr90/msvcr90.spec
View file @
40509127
...
...
@@ -517,7 +517,7 @@
@ stub _i64tow_s
@ stub _initptd
@ cdecl _initterm(ptr ptr) msvcrt._initterm
@
stub _initterm_e
@
cdecl _initterm_e(ptr ptr)
@ stub _inp
@ stub _inpd
@ stub _inpw
...
...
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