| Last change
 on this file since 3565 was             3537, checked in by bird, 18 years ago | 
        
          | 
Moved k* into kStuff.
 | 
        
          | 
              
Property                 svn:keywords
 set to                 Id | 
        
          | File size:
            836 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: kLdrModMZ.h 3537 2007-08-23 00:39:06Z 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 | uint16_t   e_magic; | 
|---|
| 13 | uint16_t   e_cblp; | 
|---|
| 14 | uint16_t   e_cp; | 
|---|
| 15 | uint16_t   e_crlc; | 
|---|
| 16 | uint16_t   e_cparhdr; | 
|---|
| 17 | uint16_t   e_minalloc; | 
|---|
| 18 | uint16_t   e_maxalloc; | 
|---|
| 19 | uint16_t   e_ss; | 
|---|
| 20 | uint16_t   e_sp; | 
|---|
| 21 | uint16_t   e_csum; | 
|---|
| 22 | uint16_t   e_ip; | 
|---|
| 23 | uint16_t   e_cs; | 
|---|
| 24 | uint16_t   e_lfarlc; | 
|---|
| 25 | uint16_t   e_ovno; | 
|---|
| 26 | uint16_t   e_res[4]; | 
|---|
| 27 | uint16_t   e_oemid; | 
|---|
| 28 | uint16_t   e_oeminfo; | 
|---|
| 29 | uint16_t   e_res2[10]; | 
|---|
| 30 | uint32_t   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.