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