Changeset 15396
- Timestamp:
- Dec 17, 2000, 11:46:32 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/win32k/include/LdrCalls.h ¶
r15353 r15396 1 /* $Id: LdrCalls.h,v 1. 7 2000-12-11 06:45:03bird Exp $1 /* $Id: LdrCalls.h,v 1.8 2000-12-17 22:46:32 bird Exp $ 2 2 * 3 3 * Prototypes for the loader overrided function. … … 239 239 240 240 /** 241 * Checks if a module was loaded using DosLoadModule. 242 * This is called from LDRGetProcAddr and LDRFreeModule. 243 * @returns NO_ERROR if the module was LoadModuled or executable. 244 * ERROR_INVALID_HANDLE if not LoadModuled. 245 * @param hmte MTE handle. 246 * @param pptda Pointer to the PTDA of the process calling. (current) 247 * @param pcUsage Pointer to usage variable. (output) 248 * The usage count is returned. 249 * @sketch 250 */ 251 #ifdef _ptda_h_ 252 ULONG LDRCALL ldrWasLoadModuled( /* retd 0x0c */ 253 HMTE hmte, /* ebp + 0x08 */ 254 PPTDA pptda, /* ebp + 0x0c */ 255 PULONG pcUsage); /* ebp + 0x10 */ 256 257 ULONG LDRCALL myldrWasLoadModuled(HMTE hmte, PPTDA pptda, PULONG pcUsage); 258 #endif 259 260 261 /** 262 * LDRGetProcAddr gets address and proctype for a entry point to a module. 263 * @returns NO_ERROR if the module was LoadModuled. 264 * ERROR_INVALID_HANDLE if not LoadModuled. 265 * @param hmte Handle of module. 266 * @param ulOrdinal Procedure ordinal. 267 * @param pszName Pointer to procedure name. 268 * NULL is allowed. Ignored if ulOrdinal is not zero. 269 * @param pulAddress Pointer to address variable. (output) 270 * @param fFlat TRUE if a flat 0:32 address is to be returned. 271 * FALSE if a far 16:16 address is to be returned. 272 * @param pulProcType Pointer to procedure type variable. (output) 273 * NULL is allowed. (DosQueryProcAddr uses NULL) 274 * In user space. 275 * @sketch 276 */ 277 ULONG LDRCALL LDRGetProcAddr( /* retd 0x14 */ 278 HMTE hmte, /* ebp + 0x08 */ 279 ULONG ulOrdinal, /* ebp + 0x0c */ 280 PCSZ pszName, /* ebp + 0x10 */ 281 PULONG pulAddress, /* ebp + 0x14 */ 282 BOOL fFlat, /* ebp + 0x18 */ 283 PULONG pulProcType); /* ebp + 0x1c */ 284 285 ULONG LDRCALL myLDRGetProcAddr(HMTE hmte, ULONG ulOrdinal, PCSZ pszName, PULONG pulAddress, BOOL fFlat, PULONG pulProcType); 286 287 288 289 /** 241 290 * LDRClearSem - Clears the loader semaphore. 242 291 * (It does some garbage collection on release.)
Note:
See TracChangeset
for help on using the changeset viewer.