Changeset 25 for trunk/include/k/kLdr.h
- Timestamp:
- Feb 19, 2009, 1:56:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/k/kLdr.h
r19 r25 582 582 583 583 584 int kLdrModOpen(const char *pszFilename, PPKLDRMOD ppMod);585 int kLdrModOpenFromRdr(PKRDR pRdr, PPKLDRMOD ppMod);584 int kLdrModOpen(const char *pszFilename, KU32 fFlags, KCPUARCH enmCpuArch, PPKLDRMOD ppMod); 585 int kLdrModOpenFromRdr(PKRDR pRdr, KU32 fFlags, KCPUARCH enmCpuArch, PPKLDRMOD ppMod); 586 586 int kLdrModOpenNative(const char *pszFilename, PPKLDRMOD ppMod); 587 587 int kLdrModOpenNativeByHandle(KUPTR uHandle, PPKLDRMOD ppMod); … … 647 647 * @param pOps Pointer to the registered method table. 648 648 * @param pRdr The file provider instance to use. 649 * @param fFlags Flags, MBZ. 650 * @param enmCpuArch The desired CPU architecture. KCPUARCH_UNKNOWN means 651 * anything goes, but with a preference for the current 652 * host architecture. 649 653 * @param offNewHdr The offset of the new header in MZ files. -1 if not found. 650 654 * @param ppMod Where to store the module instance pointer. 651 655 */ 652 int (* pfnCreate)(PCKLDRMODOPS pOps, PKRDR pRdr, K LDRFOFF offNewHdr, PPKLDRMOD ppMod);656 int (* pfnCreate)(PCKLDRMODOPS pOps, PKRDR pRdr, KU32 fFlags, KCPUARCH enmCpuArch, KLDRFOFF offNewHdr, PPKLDRMOD ppMod); 653 657 /** 654 658 * Destroys an loader module instance.
Note:
See TracChangeset
for help on using the changeset viewer.