pub const LOAD_LIBRARY_SAFE_CURRENT_DIRS: u32 = 0x00002000;
Available on Windows only.
Expand description

Allow loading a DLL for execution from the current directory only if it is under a directory in the Safe load list.

See flag documentation on MSDN.