Last change
on this file since 3567 was 3567, checked in by bird, 18 years ago |
Use the new type system.
|
-
Property svn:keywords
set to
Id
|
File size:
836 bytes
|
Line | |
---|
1 | /* $Id: kLdrModMZ.h 3567 2007-08-27 19:54:05Z bird $ */
|
---|
2 |
|
---|
3 | #ifndef __kLdrModMZ_h__
|
---|
4 | #define __kLdrModMZ_h__
|
---|
5 |
|
---|
6 | #include "kLdrBase.h"
|
---|
7 |
|
---|
8 | #pragma pack(1) /* not required */
|
---|
9 |
|
---|
10 | typedef struct _IMAGE_DOS_HEADER
|
---|
11 | {
|
---|
12 | KU16 e_magic;
|
---|
13 | KU16 e_cblp;
|
---|
14 | KU16 e_cp;
|
---|
15 | KU16 e_crlc;
|
---|
16 | KU16 e_cparhdr;
|
---|
17 | KU16 e_minalloc;
|
---|
18 | KU16 e_maxalloc;
|
---|
19 | KU16 e_ss;
|
---|
20 | KU16 e_sp;
|
---|
21 | KU16 e_csum;
|
---|
22 | KU16 e_ip;
|
---|
23 | KU16 e_cs;
|
---|
24 | KU16 e_lfarlc;
|
---|
25 | KU16 e_ovno;
|
---|
26 | KU16 e_res[4];
|
---|
27 | KU16 e_oemid;
|
---|
28 | KU16 e_oeminfo;
|
---|
29 | KU16 e_res2[10];
|
---|
30 | KU32 e_lfanew;
|
---|
31 | } IMAGE_DOS_HEADER;
|
---|
32 | typedef IMAGE_DOS_HEADER *PIMAGE_DOS_HEADER;
|
---|
33 |
|
---|
34 | #ifndef IMAGE_DOS_SIGNATURE
|
---|
35 | # define IMAGE_DOS_SIGNATURE KLDR_LE2H_U16('M' | ('Z' << 8))
|
---|
36 | #endif
|
---|
37 |
|
---|
38 | #pragma pack()
|
---|
39 |
|
---|
40 | #endif
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.