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
b25e0068
Commit
b25e0068
authored
Mar 16, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Implement _set_security_error_handler.
parent
ee8cb4f7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
2 deletions
+18
-2
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+1
-1
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+1
-1
except.c
dlls/msvcrt/except.c
+14
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-0
No files found.
dlls/msvcr70/msvcr70.spec
View file @
b25e0068
...
...
@@ -516,7 +516,7 @@
@ cdecl _set_SSE2_enable(long) msvcrt._set_SSE2_enable
@ cdecl _set_error_mode(long) msvcrt._set_error_mode
@ cdecl _set_sbh_threshold(long) msvcrt._set_sbh_threshold
@
stub
_set_security_error_handler
@
cdecl _set_security_error_handler(ptr) msvcrt.
_set_security_error_handler
@ cdecl _seterrormode(long) msvcrt._seterrormode
@ cdecl -arch=i386,x86_64 -norelay _setjmp(ptr) msvcrt._setjmp
@ cdecl -i386 -norelay _setjmp3(ptr long) msvcrt._setjmp3
...
...
dlls/msvcr71/msvcr71.spec
View file @
b25e0068
...
...
@@ -512,7 +512,7 @@
@ cdecl _set_error_mode(long) msvcrt._set_error_mode
@ cdecl _set_purecall_handler(ptr) msvcrt._set_purecall_handler
@ cdecl _set_sbh_threshold(long) msvcrt._set_sbh_threshold
@
stub
_set_security_error_handler
@
cdecl _set_security_error_handler(ptr) msvcrt.
_set_security_error_handler
@ cdecl _seterrormode(long) msvcrt._seterrormode
@ cdecl -arch=i386,x86_64 _setjmp(ptr) msvcrt._setjmp
@ cdecl -i386 _setjmp3(ptr long) msvcrt._setjmp3
...
...
dlls/msvcrt/except.c
View file @
b25e0068
...
...
@@ -39,6 +39,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
seh
);
static
MSVCRT_security_error_handler
security_error_handler
;
/* VC++ extensions to Win32 SEH */
typedef
struct
_SCOPETABLE
{
...
...
@@ -820,3 +822,15 @@ BOOL CDECL MSVCRT___uncaught_exception(void)
{
return
FALSE
;
}
/* _set_security_error_handler - not exported in native msvcrt, added in msvcr70 */
MSVCRT_security_error_handler
CDECL
_set_security_error_handler
(
MSVCRT_security_error_handler
handler
)
{
MSVCRT_security_error_handler
old
=
security_error_handler
;
TRACE
(
"(%p)
\n
"
,
handler
);
security_error_handler
=
handler
;
return
old
;
}
dlls/msvcrt/msvcrt.h
View file @
b25e0068
...
...
@@ -85,6 +85,7 @@ typedef unsigned int (__stdcall *MSVCRT__beginthreadex_start_routine_t)(void *);
typedef
int
(
*
__cdecl
MSVCRT__onexit_t
)(
void
);
typedef
void
(
__cdecl
*
MSVCRT_invalid_parameter_handler
)(
const
MSVCRT_wchar_t
*
,
const
MSVCRT_wchar_t
*
,
const
MSVCRT_wchar_t
*
,
unsigned
,
MSVCRT_uintptr_t
);
typedef
void
(
__cdecl
*
MSVCRT_purecall_handler
)(
void
);
typedef
void
(
__cdecl
*
MSVCRT_security_error_handler
)(
int
,
void
*
);
typedef
struct
{
ULONG
x80
[
3
];}
MSVCRT__LDOUBLE
;
/* Intel 80 bit FP format has sizeof() 12 */
...
...
dlls/msvcrt/msvcrt.spec
View file @
b25e0068
...
...
@@ -1487,6 +1487,7 @@
@ cdecl _set_abort_behavior(long long) MSVCRT__set_abort_behavior
@ cdecl _set_invalid_parameter_handler(ptr)
@ cdecl _set_purecall_handler(ptr)
@ cdecl _set_security_error_handler(ptr)
@ cdecl -arch=i386 _statusfp2(ptr ptr)
@ cdecl _wcstod_l(wstr ptr) MSVCRT__wcstod_l
@ cdecl _wdupenv_s(ptr ptr str)
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