Changeset 15353
- Timestamp:
- Dec 11, 2000, 7:45:03 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/win32k/include/LdrCalls.h ¶
r14874 r15353 1 /* $Id: LdrCalls.h,v 1. 6 2000-09-22 09:22:37bird Exp $1 /* $Id: LdrCalls.h,v 1.7 2000-12-11 06:45:03 bird Exp $ 2 2 * 3 3 * Prototypes for the loader overrided function. … … 19 19 *******************************************************************************/ 20 20 #define LDRCALL __stdcall 21 22 /** Additional ldrFindModule flag. Or together with the class. */ 23 #define SEARCH_FULL_NAME 0x0001 21 24 22 25 … … 225 228 * @sketch 226 229 */ 227 ULONG LDRCALL ldrFindModule(PCHAR pachFilename, USHORT cchFilename, USHORT usClass, PPMTE ppMTE); 230 ULONG LDRCALL ldrFindModule( /* retd 0x10 */ 231 PCHAR pachFilename, /* ebp + 0x08 */ 232 USHORT cchFilename, /* ebp + 0x0c */ 233 USHORT usClass, /* ebp + 0x10 */ 234 PPMTE ppMTE /* ebp + 0x14 */ 235 ); 236 237 ULONG LDRCALL myldrFindModule(PCHAR pachFilename, USHORT cchFilename, USHORT usClass, PPMTE ppMTE); 228 238 229 239 … … 274 284 275 285 /** 286 * Translates a relative filename to a full qualified filename. 287 * @returns NO_ERROR on success. 288 * Errorcode on error. 289 * @param pszFilename Pointer to nullterminated filename. 290 */ 291 extern ULONG LDRCALL ldrTransPath(PSZ pszFilename); 292 293 294 /** 276 295 * Sets the VM flags for an executable object. 277 296 * @returns void … … 292 311 293 312 /** 313 * Checks if the internal name (first name in the resident nametable) matches 314 * the filename. 315 * @returns NO_ERROR on success (the name matched). 316 * ERROR_INVALID_NAME if mismatch. 317 * @param pMTE Pointer to the MTE of the module to check.<br> 318 * Assumes! that the filename for this module is present in ldrpFileNameBuf. 319 */ 320 extern ULONG LDRCALL ldrCheckInternalName( /* retd 0x04 */ 321 PMTE pMTE /* ebp + 0x08 */ 322 ); 323 324 ULONG LDRCALL myldrCheckInternalName(PMTE pMTE); 325 326 327 /** 328 * Parses a filename to find the name and extention. 329 * @returns Length of the filename without the extention. 330 * @param pachFilename Pointer to filename to parse - must have path! 331 * @param ppachName Pointer to pointer which should hold the name pointer upon successfull return. 332 * @param ppachExt Pointer to pointer which should hold the extention pointer upon successfull return. 333 */ 334 extern ULONG LDRCALL ldrGetFileName(PSZ pszFilename, PCHAR *ppchName, PCHAR *ppchExt); 335 336 337 /** 338 * Parses a filename to find the name and extention. 339 * @returns Length of the filename without the extention. 340 * @param pachFilename Pointer to filename to parse - path not needed. 341 * @param ppachName Pointer to pointer which should hold the name pointer upon successfull return. 342 * @param ppachExt Pointer to pointer which should hold the extention pointer upon successfull return. 343 */ 344 extern ULONG LDRCALL ldrGetFileName2(PSZ pszFilename, PCHAR *ppchName, PCHAR *ppchExt); 345 346 347 /** 348 * Uppercase a string. 349 * @returns void 350 * @param pach String to uppercase. 351 * @param cch Length of string. (may include terminator) 352 */ 353 extern VOID LDRCALL ldrUCaseString(PCHAR pch, unsigned cch); 354 355 356 /** 294 357 * Pointer to the loader filename buffer. 295 358 * Upon return from ldrOpen (and ldrOpenPath which calls ldrOpen) this is
Note:
See TracChangeset
for help on using the changeset viewer.