Ignore:
Timestamp:
Dec 4, 2000, 9:48:09 AM (25 years ago)
Author:
bird
Message:

Not completed implementation of kPageI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/kFileLX.h

    r4129 r4750  
    1 /* $Id: kFileLX.h,v 1.2 2000-08-31 03:00:13 bird Exp $
     1/* $Id: kFileLX.h,v 1.3 2000-12-04 08:48:09 bird Exp $
    22 *
    33 * kFileLX - Linear Executable file reader.
     
    1515
    1616
    17 class kFileLX : public kFileFormatBase
     17class kFileLX : public kFileFormatBase/*, public kPageI*/
    1818{
    1919protected:
    20     PVOID               pvBase;
    21     ULONG               offLXHdr;
    22     struct e32_exe *    pe32;
    23     struct o32_obj *    paObject;
     20    PVOID               pvBase;         /* Pointer to filemapping. */
     21    ULONG               cbFile;         /* Size of filemapping. */
     22    ULONG               offLXHdr;       /* Offset of the LX header. */
     23    struct e32_exe *    pe32;           /* Pointer to the exe header within the filemapping. */
     24    struct o32_obj *    paObject;       /* Pointer to the objecttable. */
     25    struct o32_map *    paMap;          /* Pointer to page map table. */
    2426
    2527    BOOL                queryExportName(int iOrdinal, char *pszBuffer);
     
    3739    int                 getObjectCount();
    3840
     41#if 0
     42    /** @cat Get and put page methods. (the first ones are generic) */
     43    BOOL                getPage(char *pachPage, ULONG ulAddress);
     44    BOOL                getPage(char *pachPage, int iObject, int offObject);
     45    BOOL                putPage(const char *pachPage, ULONG ulAddress);
     46    BOOL                putPage(const char *pachPage, int iObject, int offObject);
    3947
     48    BOOL                getPageLX(char *pachPage, int iObject, int iPage);
     49    BOOL                getPageLX(char *pachPage, int iPage);
     50    BOOL                putPageLX(const char *pachPage, int iObject, int iPage);
     51    BOOL                putPageLX(const char *pachPage, int iPage);
     52
     53    /** @cat Compression and expansion methods compatible with exepack:1 and exepack:2. */
     54    static BOOL         expandPage1(char *pachPage, const char * pachSrcPage, int cchSrcPage);
     55    static BOOL         expandPage2(char *pachPage, const char * pachSrcPage, int cchSrcPage);
     56    static int          compressPage1(char *pachPage, const char * pachSrcPage);
     57    static int          compressPage2(char *pachPage, const char * pachSrcPage);
     58#endif
    4059};
    4160#endif
Note: See TracChangeset for help on using the changeset viewer.