Changeset 51770 in vbox for trunk/src/VBox/Runtime/common/ldr/ldr.cpp
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/bird/hardenedwindows (added) merged: 92692-94610
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/bird/hardenedwindows/src/VBox (added) merged: 92692-94610
- Property svn:mergeinfo changed
-
trunk/src/VBox/Runtime/common/ldr/ldr.cpp
r49044 r51770 39 39 #include <iprt/log.h> 40 40 #include "internal/ldr.h" 41 42 43 RTDECL(bool) RTLdrIsLoadable(const char *pszFilename)44 {45 /*46 * Try to load the library.47 */48 RTLDRMOD hLib;49 int rc = RTLdrLoad(pszFilename, &hLib);50 if (RT_SUCCESS(rc))51 {52 RTLdrClose(hLib);53 return true;54 }55 return false;56 }57 RT_EXPORT_SYMBOL(RTLdrIsLoadable);58 41 59 42
Note:
See TracChangeset
for help on using the changeset viewer.