Changeset 35183 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Dec 16, 2010 1:59:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r35152 r35183 2104 2104 * Try load it. 2105 2105 */ 2106 return RTLdrLoadEx(pszFilename, phLdrMod, fFlags, pszError, cbError); 2106 RTERRINFO ErrInfo; 2107 PRTERRINFO pErrInfo; 2108 if (!pszError || !cbError) 2109 pErrInfo = NULL; 2110 else 2111 pErrInfo = RTErrInfoInit(&ErrInfo, pszError, cbError); 2112 return RTLdrLoadEx(pszFilename, phLdrMod, fFlags, pErrInfo); 2107 2113 } 2108 2114 … … 2245 2251 * Try load it. 2246 2252 */ 2247 return RTLdrLoadEx(pszFilename, phLdrMod, 0 /*=fFlags*/, pszErr, cbErr); 2253 RTERRINFO ErrInfo; 2254 PRTERRINFO pErrInfo; 2255 if (!pszErr || !cbErr) 2256 pErrInfo = NULL; 2257 else 2258 pErrInfo = RTErrInfoInit(&ErrInfo, pszErr, cbErr); 2259 return RTLdrLoadEx(pszFilename, phLdrMod, 0 /*fFlags*/, pErrInfo); 2248 2260 } 2249 2261
Note:
See TracChangeset
for help on using the changeset viewer.