Ignore:
Timestamp:
Aug 25, 2000, 6:47:28 AM (25 years ago)
Author:
bird
Message:

Coding more or less completed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GRACE/src/win32k/ldr/ModuleBase.cpp

    r3834 r4090  
    1 /* $Id: ModuleBase.cpp,v 1.3.4.1 2000-07-16 22:43:33 bird Exp $
     1/* $Id: ModuleBase.cpp,v 1.3.4.2 2000-08-25 04:47:23 bird Exp $
    22 *
    33 * ModuleBase - Implementetation.
     
    169169 * @returns   OS2 return code.
    170170 *            pLdrLv->lv_sfn  is set to filename handle.
    171  * @param     pachModname   Pointer to modulename. Not zero terminated!
    172  * @param     cchModname    Modulename length.
     171 * @param     pachFilename  Pointer to filename. Not zero terminated!
     172 * @param     cchFilename   Filename length.
    173173 * @param     pLdrLv        Loader local variables? (Struct from KERNEL.SDF)
    174  * @param     pfl           Pointer to flags which are passed on to ldrOpen.
     174 * @param     pful          Pointer to flags which are passed on to ldrOpen.
    175175 * @sketch
    176176 * This is roughly what the original ldrOpenPath does:
     
    185185 *      endif
    186186 */
    187 ULONG  ModuleBase::openPath(PCHAR pachModname, USHORT cchModname, ldrlv_t *pLdrLv, PULONG pfl) /* (ldrOpenPath) */
     187ULONG  ModuleBase::openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful) /* (ldrOpenPath) */
    188188{
    189189    #ifdef RING0
    190190    printf("ModuleBase::openPath:\n");
    191     return ldrOpenPath(pachModname, cchModname, pLdrLv, pfl);
     191    return ldrOpenPath(pachFilename, cchFilename, pLdrLv, pful);
    192192    #else
    193     NOREF(pachModname);
    194     NOREF(cchModname);
     193    NOREF(pachFilename);
     194    NOREF(cchFilename);
    195195    NOREF(pLdrLv);
    196     NOREF(pfl);
     196    NOREF(pful);
    197197    return ERROR_NOT_SUPPORTED;
    198198    #endif
     
    271271
    272272/**
     273 * Gets the fullpath filename.
     274 * @returns     Const ("Readonly") pointer to the filename.
     275 * @author      knut st. osmundsen (knut.stange.osmundsen@mynd.no)
     276 */
     277PCSZ ModuleBase::getFilename()
     278{
     279    return pszFilename;
     280}
     281
     282
     283/**
     284 * Gets the modulename.
     285 * @returns     Const ("Readonly") pointer to the module name.
     286 * @author      knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     287 * @remark      Modulename is filename without path and extention.
     288 */
     289PCSZ ModuleBase::getModuleName()
     290{
     291    return pszModuleName;
     292}
     293
     294
     295/**
    273296 * Output function for Modules.
    274297 * @param     pszFormat    Pointer to format string.
Note: See TracChangeset for help on using the changeset viewer.