carb::extras::adjustWindowsDllSearchPaths
Defined in carb/extras/WindowsPath.h
-
inline void carb::extras::adjustWindowsDllSearchPaths()
(Windows only) Sets the default DLL search directories for the application.
This calls
SetDefaultDllDirectories(LOAD_LIBRARY_SEARCH_DEFAULT_DIRS)
. From the documentation this value is the combination of three separate values which comprise the recommended maximum number of directories an application should include in its DLL search path:The application directory
windows%\system32
User directories: any path explicitly added by
AddDllDirectory()
orSetDllDirectory()
.
See also: DLL Search Order
ErrorApi state is not changed by this function.