Ignore:
Timestamp:
Sep 2, 2000, 11:08:23 PM (25 years ago)
Author:
bird
Message:

Merged in the Grace branch. New Win32k!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/include/pe2lx.h

    r2925 r4164  
    1 /* $Id: pe2lx.h,v 1.9 2000-02-27 02:16:43 bird Exp $
     1/* $Id: pe2lx.h,v 1.10 2000-09-02 21:08:03 bird Exp $
    22 *
    33 * Pe2Lx class declarations. Ring 0 and Ring 3
     
    6666    ULONG  applyFixups(PMTE pMTE, ULONG iObject, ULONG iPageTable, PVOID pvPage,
    6767                       ULONG ulPageAddress, PVOID pvPTDA); /*(ldrEnum32bitRelRecs)*/
     68    ULONG  openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful); /* (ldrOpenPath) */
     69    static ULONG  openPath2(PCHAR pachFilename, ULONG cchFilename, ldrlv_t *pLdrLv, PULONG pful, BOOL fOdin32PathValid);
    6870    #ifndef RING0
    6971    ULONG  testApplyFixups();
    7072    ULONG  writeFile(PCSZ pszLXFilename);
    7173    #endif
     74
     75    /** @cat public query methods */
     76    BOOL    isExe();
     77    BOOL    isDll();
     78    static SFN  getKernel32SFN()        {   return sfnKernel32;   }
     79    static VOID setKernel32SFN(SFN sfn) {   sfnKernel32 = sfn;    }
     80    static VOID invalidateOdin32Path();
     81    static LONG getLoadedModuleCount()  {   return cLoadedModules;}
    7282
    7383    /** @cat public Helper methods */
     
    120130    /** @cat static helpers */
    121131    static PCSZ queryOdin32ModuleName(PCSZ pszWin32ModuleName);
     132    static BOOL initOdin32Path();
     133    static BOOL setOdin32Path(const char *psz);
    122134
    123135    /** @cat static dump methods */
     
    195207        ULONG flFlags;                      /* equivalent object flags */
    196208    } paSecChars2Flags[];
     209
     210    static LONG             cLoadedModules; /* Count of existing objects. Updated by constructor and destructor. */
     211    static const char *     pszOdin32Path;  /* Odin32 base path (include a slash). */
     212    static ULONG            cchOdin32Path;  /* Odin32 base path length. */
     213    static SFN              sfnKernel32;    /* Odin32 Kernel32 filehandle. */
    197214};
    198215
Note: See TracChangeset for help on using the changeset viewer.