pub const LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR: DWORD;
Available on Windows only.
Expand description

Directory that contains the DLL is temporarily added to the beginning of the list of directories that are searched for the DLL’s dependencies.

Directories in the standard search path are not searched.

The filename parameter must specify a fully qualified path. This value cannot be combined with LOAD_WITH_ALTERED_SEARCH_PATH.

See flag documentation on MSDN.