VirtualBox

Ignore:
Timestamp:
Dec 10, 2010 3:17:31 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68779
Message:

Added RTLdrLoadEx for exposing dlerror info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/ldr.h

    r28800 r34959  
    365365 * @param   pszFilename     The image filename.
    366366 * @param   phHandle        Where to store the module handle on success.
    367  */
    368 int rtldrNativeLoad(const char *pszFilename, uintptr_t *phHandle);
     367 * @param   pszError        Where to store the error message. Optional.
     368 * @param   cbError         The size of the error message buffer.
     369 */
     370int rtldrNativeLoad(const char *pszFilename, uintptr_t *phHandle, char *pszError, size_t cbError);
    369371
    370372int rtldrPEOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, RTFOFF offNtHdrs, PRTLDRMOD phLdrMod);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette