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
89fae7eb
Commit
89fae7eb
authored
May 12, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved some exception definitions to winnt.h and ntddk.h.
parent
9a6fbe49
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
30 deletions
+23
-30
except.h
include/except.h
+0
-26
ntddk.h
include/ntddk.h
+4
-2
winnt.h
include/winnt.h
+18
-0
crtdll.c
misc/crtdll.c
+1
-1
init.c
win32/init.c
+0
-1
No files found.
include/except.h
View file @
89fae7eb
...
...
@@ -11,33 +11,7 @@
#include "winnt.h"
#include "thread.h"
/*
* the function pointer to a exception handler
*/
/* forward definition */
struct
__EXCEPTION_FRAME
;
typedef
DWORD
(
CALLBACK
*
PEXCEPTION_HANDLER
)(
PEXCEPTION_RECORD
pexcrec
,
struct
__EXCEPTION_FRAME
*
pestframe
,
PCONTEXT
pcontext
,
struct
__EXCEPTION_FRAME
**
pdispatcher
);
/*
* The exception frame, used for registering exception handlers
* Win32 cares only about this, but compilers generally emit
* larger exception frames for their own use.
*/
typedef
struct
__EXCEPTION_FRAME
{
struct
__EXCEPTION_FRAME
*
Prev
;
PEXCEPTION_HANDLER
Handler
;
}
EXCEPTION_FRAME
,
*
PEXCEPTION_FRAME
;
void
WINAPI
RtlUnwind
(
PEXCEPTION_FRAME
,
LPVOID
,
PEXCEPTION_RECORD
,
DWORD
);
static
inline
EXCEPTION_FRAME
*
EXC_push_frame
(
EXCEPTION_FRAME
*
frame
)
{
TEB
*
teb
=
NtCurrentTeb
();
...
...
include/ntddk.h
View file @
89fae7eb
...
...
@@ -6,8 +6,8 @@
#ifndef __WINE_NTDDK_H
#define __WINE_NTDDK_H
#include
<ntdef.h>
#include
<winnt.h>
#include
"ntdef.h"
#include
"winnt.h"
#include "winbase.h"
/* fixme: should be taken out sometimes */
#ifdef __cplusplus
...
...
@@ -575,6 +575,8 @@ BOOLEAN WINAPI RtlFreeHeap(
void
__cdecl
DbgPrint
(
LPCSTR
fmt
,
LPVOID
args
);
DWORD
WINAPI
NtRaiseException
(
PEXCEPTION_RECORD
,
PCONTEXT
,
BOOL
);
void
WINAPI
RtlRaiseException
(
PEXCEPTION_RECORD
);
void
WINAPI
RtlRaiseStatus
(
NTSTATUS
);
void
WINAPI
RtlUnwind
(
PEXCEPTION_FRAME
,
LPVOID
,
PEXCEPTION_RECORD
,
DWORD
);
VOID
WINAPI
RtlAcquirePebLock
(
void
);
VOID
WINAPI
RtlReleasePebLock
(
void
);
DWORD
WINAPI
RtlAdjustPrivilege
(
DWORD
x1
,
DWORD
x2
,
DWORD
x3
,
DWORD
x4
);
...
...
include/winnt.h
View file @
89fae7eb
...
...
@@ -321,6 +321,24 @@ typedef struct _EXCEPTION_POINTERS
PCONTEXT
ContextRecord
;
}
EXCEPTION_POINTERS
,
*
PEXCEPTION_POINTERS
;
/*
* The exception frame, used for registering exception handlers
* Win32 cares only about this, but compilers generally emit
* larger exception frames for their own use.
*/
struct
__EXCEPTION_FRAME
;
typedef
DWORD
(
CALLBACK
*
PEXCEPTION_HANDLER
)(
PEXCEPTION_RECORD
,
struct
__EXCEPTION_FRAME
*
,
PCONTEXT
,
struct
__EXCEPTION_FRAME
**
);
typedef
struct
__EXCEPTION_FRAME
{
struct
__EXCEPTION_FRAME
*
Prev
;
PEXCEPTION_HANDLER
Handler
;
}
EXCEPTION_FRAME
,
*
PEXCEPTION_FRAME
;
#include "poppack.h"
/*
...
...
misc/crtdll.c
View file @
89fae7eb
...
...
@@ -41,13 +41,13 @@ AJ 990101:
#include "winbase.h"
#include "winuser.h"
#include "winerror.h"
#include "ntddk.h"
#include "debug.h"
#include "module.h"
#include "heap.h"
#include "crtdll.h"
#include "drive.h"
#include "file.h"
#include "except.h"
#include "options.h"
#include "winnls.h"
...
...
win32/init.c
View file @
89fae7eb
...
...
@@ -10,7 +10,6 @@
#include <stdlib.h>
#include "winerror.h"
#include "wine/winestring.h"
#include "except.h"
#include "heap.h"
#include "task.h"
#include "debug.h"
...
...
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