ReactOS 0.4.16-dev-1946-g52006dd
winnt.h File Reference
#include <psdk/winnt.h>
Include dependency graph for winnt.h:

Go to the source code of this file.

Classes

struct  _YMMCONTEXT
 
struct  _XSTATE
 
struct  _EXCEPTION_REGISTRATION_RECORD
 

Macros

#define CONTEXT_i386   0x10000
 
#define CONTEXT_i486   0x10000
 
#define CONTEXT_I386_CONTROL   (CONTEXT_i386 | 0x0001) /* SS:SP, CS:IP, FLAGS, BP */
 
#define CONTEXT_I386_INTEGER   (CONTEXT_i386 | 0x0002) /* AX, BX, CX, DX, SI, DI */
 
#define CONTEXT_I386_SEGMENTS   (CONTEXT_i386 | 0x0004) /* DS, ES, FS, GS */
 
#define CONTEXT_I386_FLOATING_POINT   (CONTEXT_i386 | 0x0008) /* 387 state */
 
#define CONTEXT_I386_DEBUG_REGISTERS   (CONTEXT_i386 | 0x0010) /* DB 0-3,6,7 */
 
#define CONTEXT_I386_EXTENDED_REGISTERS   (CONTEXT_i386 | 0x0020)
 
#define CONTEXT_I386_XSTATE   (CONTEXT_i386 | 0x0040)
 
#define CONTEXT_I386_FULL   (CONTEXT_I386_CONTROL | CONTEXT_I386_INTEGER | CONTEXT_I386_SEGMENTS)
 
#define CONTEXT_I386_ALL   (CONTEXT_I386_FULL | CONTEXT_I386_FLOATING_POINT | CONTEXT_I386_DEBUG_REGISTERS | CONTEXT_I386_EXTENDED_REGISTERS)
 
#define CONTEXT_AMD64   0x100000
 
#define CONTEXT_AMD64_CONTROL   (CONTEXT_AMD64 | 0x0001)
 
#define CONTEXT_AMD64_INTEGER   (CONTEXT_AMD64 | 0x0002)
 
#define CONTEXT_AMD64_SEGMENTS   (CONTEXT_AMD64 | 0x0004)
 
#define CONTEXT_AMD64_FLOATING_POINT   (CONTEXT_AMD64 | 0x0008)
 
#define CONTEXT_AMD64_DEBUG_REGISTERS   (CONTEXT_AMD64 | 0x0010)
 
#define CONTEXT_AMD64_XSTATE   (CONTEXT_AMD64 | 0x0040)
 
#define CONTEXT_AMD64_FULL   (CONTEXT_AMD64_CONTROL | CONTEXT_AMD64_INTEGER | CONTEXT_AMD64_FLOATING_POINT)
 
#define CONTEXT_AMD64_ALL   (CONTEXT_AMD64_CONTROL | CONTEXT_AMD64_INTEGER | CONTEXT_AMD64_SEGMENTS | CONTEXT_AMD64_FLOATING_POINT | CONTEXT_AMD64_DEBUG_REGISTERS)
 
#define CONTEXT_UNWOUND_TO_CALL   0x20000000
 
#define CONTEXT_EXCEPTION_ACTIVE   0x8000000
 
#define CONTEXT_SERVICE_ACTIVE   0x10000000
 
#define CONTEXT_EXCEPTION_REQUEST   0x40000000
 
#define CONTEXT_EXCEPTION_REPORTING   0x80000000
 
#define __WINE_WINNT_EXCEPTION_REGISTRATION_RECORD
 
#define HEAP_SHARED   0x04000000
 

Typedefs

typedef WOW64_FLOATING_SAVE_AREA I386_FLOATING_SAVE_AREA
 
typedef WOW64_CONTEXT I386_CONTEXT
 
typedef struct _YMMCONTEXT YMMCONTEXT
 
typedef struct _YMMCONTEXTPYMMCONTEXT
 
typedef struct _XSTATE XSTATE
 
typedef struct _XSTATEPXSTATE
 
typedef DWORD(CDECLPEXCEPTION_HANDLER) (PEXCEPTION_RECORD, struct _EXCEPTION_REGISTRATION_RECORD *, PCONTEXT, struct _EXCEPTION_REGISTRATION_RECORD **)
 
typedef struct _EXCEPTION_REGISTRATION_RECORD EXCEPTION_REGISTRATION_RECORD
 

Functions

struct DECLSPEC_ALIGN (16) _AMD64_CONTEXT
 

Variables

 AMD64_CONTEXT
 

Macro Definition Documentation

◆ __WINE_WINNT_EXCEPTION_REGISTRATION_RECORD

#define __WINE_WINNT_EXCEPTION_REGISTRATION_RECORD

Definition at line 167 of file winnt.h.

◆ CONTEXT_AMD64

#define CONTEXT_AMD64   0x100000

Definition at line 26 of file winnt.h.

◆ CONTEXT_AMD64_ALL

◆ CONTEXT_AMD64_CONTROL

#define CONTEXT_AMD64_CONTROL   (CONTEXT_AMD64 | 0x0001)

Definition at line 28 of file winnt.h.

◆ CONTEXT_AMD64_DEBUG_REGISTERS

#define CONTEXT_AMD64_DEBUG_REGISTERS   (CONTEXT_AMD64 | 0x0010)

Definition at line 32 of file winnt.h.

◆ CONTEXT_AMD64_FLOATING_POINT

#define CONTEXT_AMD64_FLOATING_POINT   (CONTEXT_AMD64 | 0x0008)

Definition at line 31 of file winnt.h.

◆ CONTEXT_AMD64_FULL

Definition at line 34 of file winnt.h.

◆ CONTEXT_AMD64_INTEGER

#define CONTEXT_AMD64_INTEGER   (CONTEXT_AMD64 | 0x0002)

Definition at line 29 of file winnt.h.

◆ CONTEXT_AMD64_SEGMENTS

#define CONTEXT_AMD64_SEGMENTS   (CONTEXT_AMD64 | 0x0004)

Definition at line 30 of file winnt.h.

◆ CONTEXT_AMD64_XSTATE

#define CONTEXT_AMD64_XSTATE   (CONTEXT_AMD64 | 0x0040)

Definition at line 33 of file winnt.h.

◆ CONTEXT_EXCEPTION_ACTIVE

#define CONTEXT_EXCEPTION_ACTIVE   0x8000000

Definition at line 155 of file winnt.h.

◆ CONTEXT_EXCEPTION_REPORTING

#define CONTEXT_EXCEPTION_REPORTING   0x80000000

Definition at line 158 of file winnt.h.

◆ CONTEXT_EXCEPTION_REQUEST

#define CONTEXT_EXCEPTION_REQUEST   0x40000000

Definition at line 157 of file winnt.h.

◆ CONTEXT_i386

#define CONTEXT_i386   0x10000

Definition at line 6 of file winnt.h.

◆ CONTEXT_I386_ALL

◆ CONTEXT_I386_CONTROL

#define CONTEXT_I386_CONTROL   (CONTEXT_i386 | 0x0001) /* SS:SP, CS:IP, FLAGS, BP */

Definition at line 9 of file winnt.h.

◆ CONTEXT_I386_DEBUG_REGISTERS

#define CONTEXT_I386_DEBUG_REGISTERS   (CONTEXT_i386 | 0x0010) /* DB 0-3,6,7 */

Definition at line 13 of file winnt.h.

◆ CONTEXT_I386_EXTENDED_REGISTERS

#define CONTEXT_I386_EXTENDED_REGISTERS   (CONTEXT_i386 | 0x0020)

Definition at line 14 of file winnt.h.

◆ CONTEXT_I386_FLOATING_POINT

#define CONTEXT_I386_FLOATING_POINT   (CONTEXT_i386 | 0x0008) /* 387 state */

Definition at line 12 of file winnt.h.

◆ CONTEXT_I386_FULL

Definition at line 16 of file winnt.h.

◆ CONTEXT_I386_INTEGER

#define CONTEXT_I386_INTEGER   (CONTEXT_i386 | 0x0002) /* AX, BX, CX, DX, SI, DI */

Definition at line 10 of file winnt.h.

◆ CONTEXT_I386_SEGMENTS

#define CONTEXT_I386_SEGMENTS   (CONTEXT_i386 | 0x0004) /* DS, ES, FS, GS */

Definition at line 11 of file winnt.h.

◆ CONTEXT_I386_XSTATE

#define CONTEXT_I386_XSTATE   (CONTEXT_i386 | 0x0040)

Definition at line 15 of file winnt.h.

◆ CONTEXT_i486

#define CONTEXT_i486   0x10000

Definition at line 7 of file winnt.h.

◆ CONTEXT_SERVICE_ACTIVE

#define CONTEXT_SERVICE_ACTIVE   0x10000000

Definition at line 156 of file winnt.h.

◆ CONTEXT_UNWOUND_TO_CALL

#define CONTEXT_UNWOUND_TO_CALL   0x20000000

Definition at line 153 of file winnt.h.

◆ HEAP_SHARED

#define HEAP_SHARED   0x04000000

Definition at line 180 of file winnt.h.

Typedef Documentation

◆ EXCEPTION_REGISTRATION_RECORD

◆ I386_CONTEXT

Definition at line 23 of file winnt.h.

◆ I386_FLOATING_SAVE_AREA

Definition at line 19 of file winnt.h.

◆ PEXCEPTION_HANDLER

Definition at line 170 of file winnt.h.

◆ PXSTATE

typedef struct _XSTATE * PXSTATE

◆ PYMMCONTEXT

◆ XSTATE

◆ YMMCONTEXT

Function Documentation

◆ DECLSPEC_ALIGN()

struct DECLSPEC_ALIGN ( 16  )

Definition at line 23 of file winnt.h.

37 {
38 DWORD64 P1Home; /* 000 */
39 DWORD64 P2Home; /* 008 */
40 DWORD64 P3Home; /* 010 */
41 DWORD64 P4Home; /* 018 */
42 DWORD64 P5Home; /* 020 */
43 DWORD64 P6Home; /* 028 */
44
45 /* Control flags */
46 DWORD ContextFlags; /* 030 */
47 DWORD MxCsr; /* 034 */
48
49 /* Segment */
50 WORD SegCs; /* 038 */
51 WORD SegDs; /* 03a */
52 WORD SegEs; /* 03c */
53 WORD SegFs; /* 03e */
54 WORD SegGs; /* 040 */
55 WORD SegSs; /* 042 */
56 DWORD EFlags; /* 044 */
57
58 /* Debug */
59 DWORD64 Dr0; /* 048 */
60 DWORD64 Dr1; /* 050 */
61 DWORD64 Dr2; /* 058 */
62 DWORD64 Dr3; /* 060 */
63 DWORD64 Dr6; /* 068 */
64 DWORD64 Dr7; /* 070 */
65
66 /* Integer */
67 DWORD64 Rax; /* 078 */
68 DWORD64 Rcx; /* 080 */
69 DWORD64 Rdx; /* 088 */
70 DWORD64 Rbx; /* 090 */
71 DWORD64 Rsp; /* 098 */
72 DWORD64 Rbp; /* 0a0 */
73 DWORD64 Rsi; /* 0a8 */
74 DWORD64 Rdi; /* 0b0 */
75 DWORD64 R8; /* 0b8 */
76 DWORD64 R9; /* 0c0 */
77 DWORD64 R10; /* 0c8 */
78 DWORD64 R11; /* 0d0 */
79 DWORD64 R12; /* 0d8 */
80 DWORD64 R13; /* 0e0 */
81 DWORD64 R14; /* 0e8 */
82 DWORD64 R15; /* 0f0 */
83
84 /* Counter */
85 DWORD64 Rip; /* 0f8 */
86
87 /* Floating point */
88 union {
89 XMM_SAVE_AREA32 FltSave; /* 100 */
90 struct {
91 M128A Header[2]; /* 100 */
92 M128A Legacy[8]; /* 120 */
93 M128A Xmm0; /* 1a0 */
94 M128A Xmm1; /* 1b0 */
95 M128A Xmm2; /* 1c0 */
96 M128A Xmm3; /* 1d0 */
97 M128A Xmm4; /* 1e0 */
98 M128A Xmm5; /* 1f0 */
99 M128A Xmm6; /* 200 */
100 M128A Xmm7; /* 210 */
101 M128A Xmm8; /* 220 */
102 M128A Xmm9; /* 230 */
103 M128A Xmm10; /* 240 */
104 M128A Xmm11; /* 250 */
105 M128A Xmm12; /* 260 */
106 M128A Xmm13; /* 270 */
107 M128A Xmm14; /* 280 */
108 M128A Xmm15; /* 290 */
111
112 /* Vector */
113 M128A VectorRegister[26]; /* 300 */
114 DWORD64 VectorControl; /* 4a0 */
115
116 /* Debug control */
117 DWORD64 DebugControl; /* 4a8 */
118 DWORD64 LastBranchToRip; /* 4b0 */
119 DWORD64 LastBranchFromRip; /* 4b8 */
120 DWORD64 LastExceptionToRip; /* 4c0 */
121 DWORD64 LastExceptionFromRip; /* 4c8 */
@ R15
Definition: amd64_sup.c:13
@ R13
Definition: amd64_sup.c:13
@ R12
Definition: amd64_sup.c:13
@ R9
Definition: amd64_sup.c:13
@ R14
Definition: amd64_sup.c:13
@ R8
Definition: amd64_sup.c:13
@ R11
Definition: amd64_sup.c:13
@ R10
Definition: amd64_sup.c:13
Definition: Header.h:9
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DUMMYUNIONNAME
Definition: pecoff.h:91
#define DUMMYSTRUCTNAME
Definition: pecoff.h:117
XSAVE_FORMAT XMM_SAVE_AREA32
Definition: ke.h:35
uint64_t DWORD64
Definition: typedefs.h:67
AMD64_CONTEXT
Definition: winnt.h:122
M128A
Definition: ketypes.h:992

Variable Documentation

◆ AMD64_CONTEXT

AMD64_CONTEXT

Definition at line 122 of file winnt.h.