Changeset 4090 for branches/GRACE/src/win32k/ldr/ModuleBase.cpp
- Timestamp:
- Aug 25, 2000, 6:47:28 AM (25 years ago)
- 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 $ 2 2 * 3 3 * ModuleBase - Implementetation. … … 169 169 * @returns OS2 return code. 170 170 * pLdrLv->lv_sfn is set to filename handle. 171 * @param pach Modname Pointer to modulename. Not zero terminated!172 * @param cch Modname Modulename length.171 * @param pachFilename Pointer to filename. Not zero terminated! 172 * @param cchFilename Filename length. 173 173 * @param pLdrLv Loader local variables? (Struct from KERNEL.SDF) 174 * @param pf lPointer to flags which are passed on to ldrOpen.174 * @param pful Pointer to flags which are passed on to ldrOpen. 175 175 * @sketch 176 176 * This is roughly what the original ldrOpenPath does: … … 185 185 * endif 186 186 */ 187 ULONG ModuleBase::openPath(PCHAR pach Modname, USHORT cchModname, ldrlv_t *pLdrLv, PULONG pfl) /* (ldrOpenPath) */187 ULONG ModuleBase::openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful) /* (ldrOpenPath) */ 188 188 { 189 189 #ifdef RING0 190 190 printf("ModuleBase::openPath:\n"); 191 return ldrOpenPath(pach Modname, cchModname, pLdrLv, pfl);191 return ldrOpenPath(pachFilename, cchFilename, pLdrLv, pful); 192 192 #else 193 NOREF(pach Modname);194 NOREF(cch Modname);193 NOREF(pachFilename); 194 NOREF(cchFilename); 195 195 NOREF(pLdrLv); 196 NOREF(pf l);196 NOREF(pful); 197 197 return ERROR_NOT_SUPPORTED; 198 198 #endif … … 271 271 272 272 /** 273 * Gets the fullpath filename. 274 * @returns Const ("Readonly") pointer to the filename. 275 * @author knut st. osmundsen (knut.stange.osmundsen@mynd.no) 276 */ 277 PCSZ 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 */ 289 PCSZ ModuleBase::getModuleName() 290 { 291 return pszModuleName; 292 } 293 294 295 /** 273 296 * Output function for Modules. 274 297 * @param pszFormat Pointer to format string.
Note:
See TracChangeset
for help on using the changeset viewer.