Changeset 2836 for trunk/kLdr/kLdr.h
- Timestamp:
- Oct 26, 2006, 5:58:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdr.h
r2835 r2836 44 44 typedef signed __int64 int64_t; 45 45 typedef unsigned __int64 uint64_t; 46 typedef int64_t intmax_t; 46 47 typedef uint64_t uintmax_t; 47 48 #else … … 287 288 const char *pszName; 288 289 /** The size of the segment. */ 289 size_tcb;290 uintmax_t cb; 290 291 /** The link time load address. */ 291 void *pvLink;292 uintmax_t LinkAddress; 292 293 /** The actual load address (if loaded). */ 293 void *pv;294 uintmax_t LoadAddress; 294 295 /** The segment protection. */ 295 296 KLDRPROT enmProt; … … 609 610 } KLDRDYLDSEARCH; 610 611 611 /** @name kLdr LoadDllflags.612 /** @name kLdrDyldLoad and kLdrDyldFindByName flags. 612 613 * @{ */ 613 614 /** The symbols in the module should be loaded into the global unix namespace. … … 625 626 unsigned fFlags, PHKLDRMOD phMod, char *pszErr, size_t cchErr); 626 627 int kLdrDyldUnload(HKLDRMOD hMod); 627 int kLdrDyldFindByName(const char *pszDll, const char *pszDefPrefix, const char *pszDefSuffix, KLDRDYLDSEARCH enmSearch, PHKLDRMOD phMod); 628 int kLdrDyldFindByName(const char *pszDll, const char *pszDefPrefix, const char *pszDefSuffix, KLDRDYLDSEARCH enmSearch, 629 unsigned fFlags, PHKLDRMOD phMod); 628 630 int kLdrDyldFindByAddress(uintptr_t Address, PHKLDRMOD phMod, uint32_t *piSegment, uintptr_t *poffSegment); 629 631 int kLdrDyldGetName(HKLDRMOD hMod, char *pszName, size_t cchName); … … 728 730 /** Invalid handle parameter to a kLdr API. */ 729 731 #define KLDR_ERR_INVALID_HANDLE (KLDR_ERR_BASE + 33) 732 /** The module wasn't found. */ 733 #define KLDR_ERR_MODULE_NOT_FOUND (KLDR_ERR_BASE + 34) 730 734 731 735 /** Encountered a bad fixup. */
Note:
See TracChangeset
for help on using the changeset viewer.