Ignore:
Timestamp:
Jun 15, 2001, 11:42:49 AM (24 years ago)
Author:
bird
Message:

Corrected Pe2Lx bug in LoadLibrary. Added isPe2LxDLL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimagepe2lx.h

    r4368 r6015  
    1 /* $Id: winimagepe2lx.h,v 1.6 2000-10-02 13:35:23 bird Exp $ */
     1/* $Id: winimagepe2lx.h,v 1.7 2001-06-15 09:42:49 bird Exp $ */
    22
    33/*
     
    4040    /** @cat constructor and destructor */
    4141    Win32Pe2LxImage(HINSTANCE hinstance, BOOL fWin32k);
    42     virtual ~Win32Pe2LxImage();
    43     virtual BOOL init();
     42    virtual         ~Win32Pe2LxImage();
     43    virtual BOOL    init();
    4444
    4545    /** @cat Exports */
    46     virtual ULONG getApi(char *name);
    47     virtual ULONG getApi(int ordinal);
     46    virtual ULONG   getApi(char *name);
     47    virtual ULONG   getApi(int ordinal);
     48
     49    /** @cat Queries */
     50    /** Get the OS/2 module handle.
     51     * @returns OS/2 module handle. */
     52    HINSTANCE       getHMOD() const { return hmod; }
    4853
    4954private:
    5055    /** @cat constructor helpers */
    51     ULONG    getSections();
    52     ULONG    setSectionRVAs();
    53     VOID     cleanup();
     56    ULONG           getSections();
     57    ULONG           setSectionRVAs();
     58    VOID            cleanup();
    5459
    5560protected:
    5661    /** @cat RVA -> pointer */
    5762    /* these should be moved to winimagebase some day... */
    58     PVOID    getPointerFromRVA(ULONG ulRVA);
    59     PVOID    getPointerFromPointer(PVOID pv);
    60     LONG     getSectionIndexFromRVA(ULONG ulRVA);
    61     BOOL     validateRealPointer(PVOID pv);
     63    PVOID           getPointerFromRVA(ULONG ulRVA);
     64    PVOID           getPointerFromPointer(PVOID pv);
     65    LONG            getSectionIndexFromRVA(ULONG ulRVA);
     66    BOOL            validateRealPointer(PVOID pv);
    6267
    6368    PSECTION            paSections; /* Used by getPointerFromRVA and created by getSections and
     
    6974    BOOL                fWin32k;    /* flag which indicates wether this is a Win32k loaded
    7075                                     * module (TRUE) or and Pe2Lx module (FALSE). */
    71     HMODULE hmod;                   /* OS/2 handle of the module. */
     76    HMODULE             hmod;       /* OS/2 handle of the module. */
    7277};
    7378
Note: See TracChangeset for help on using the changeset viewer.