home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lxlist.zip / lxlist.h < prev   
C/C++ Source or Header  |  1996-08-14  |  1KB  |  61 lines

  1. /*
  2. ** Module   :LXLIST.H
  3. ** Abstract :
  4. **
  5. ** Copyright (C) Sergey I. Yevtushenko
  6. ** Last Update :Sun  21-04-96
  7. */
  8.  
  9.  
  10. #ifndef  __LXLIST_H
  11. #define  __LXLIST_H
  12.  
  13. #define OffsetToLX 0x3C
  14.  
  15. typedef unsigned char byte;
  16. typedef unsigned short word;
  17. typedef unsigned long dword;
  18.  
  19. typedef struct
  20. {
  21.     byte _L;
  22.     byte _X;
  23.     byte BOrtder;
  24.     byte WOrder;
  25.     dword FormatLevel;
  26.     word CPUType;
  27.     word OSType;
  28.     dword ModuleVersion;
  29.     dword ModuleFlags;
  30.     dword ModuleNumOfPages;
  31.     dword EIP_NumObject;
  32.     dword EIP;
  33.     dword ESP_NumObject;
  34.     dword ESP;
  35.     dword PageSize;
  36.     dword PageOffsetShift;
  37.     dword FixupSectionSize;
  38.     dword FixupSectionChecksum;
  39.     dword LoaderSectionSize;
  40.     dword LoaderSectionChecksum;
  41.     dword ObjectTableOff;
  42.     dword NumObjectsInModule;
  43.     dword ObjectPageTableOff;
  44.     dword ObjectIterPagesOff;
  45.     dword ResourceTableOff;
  46.     dword NumResourceTableEntries;
  47.     dword ResidentNameTableOff;
  48.     dword EntryTableOff;
  49.     dword ModuleDirectivesOff;
  50.     dword NumModuleDirectives;
  51.     dword FixupPageTableOff;
  52.     dword FixupRecordTableOff;
  53.     dword ImportModuleTblOff;
  54.     dword NumImportModEntries;
  55.     dword ImportProcTblOff;
  56.     /* other skipped */
  57. } LXheader;
  58.  
  59. #endif //__LXLIST_H
  60.  
  61.