Changeset 35152 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Dec 15, 2010 4:45:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrNative.cpp
r34959 r35152 96 96 RTDECL(int) RTLdrLoad(const char *pszFilename, PRTLDRMOD phLdrMod) 97 97 { 98 return RTLdrLoadEx(pszFilename, phLdrMod, NULL, 0);98 return RTLdrLoadEx(pszFilename, phLdrMod, 0 /*=fFlags*/, NULL, 0); 99 99 } 100 100 RT_EXPORT_SYMBOL(RTLdrLoad); 101 101 102 102 103 RTDECL(int) RTLdrLoadEx(const char *pszFilename, PRTLDRMOD phLdrMod, char *pszError, size_t cbError)104 { 105 LogFlow(("RTLdrLoadEx: pszFilename=%p:{%s} phLdrMod=%p pszError=%p cbError=%zu\n", pszFilename, pszFilename, phLdrMod, pszError, cbError));103 RTDECL(int) RTLdrLoadEx(const char *pszFilename, PRTLDRMOD phLdrMod, uint32_t fFlags, char *pszError, size_t cbError) 104 { 105 LogFlow(("RTLdrLoadEx: pszFilename=%p:{%s} phLdrMod=%p fFlags=%08x pszError=%p cbError=%zu\n", pszFilename, pszFilename, phLdrMod, fFlags, pszError, cbError)); 106 106 107 107 /* … … 136 136 * Attempt to open the module. 137 137 */ 138 rc = rtldrNativeLoad(pszFilename, &pMod->hNative, pszError, cbError);138 rc = rtldrNativeLoad(pszFilename, &pMod->hNative, fFlags, pszError, cbError); 139 139 if (RT_SUCCESS(rc)) 140 140 {
Note:
See TracChangeset
for help on using the changeset viewer.