pub const LOAD_WITH_ALTERED_SEARCH_PATH: u32 = 0x00000008;
Available on Windows only.
Expand description

If filename specifies an absolute path, the system uses the alternate file search strategy discussed in the [Remarks section] to find associated executable modules that the specified module causes to be loaded.

If this value is used and filename specifies a relative path, the behaviour is undefined.

If this value is not used, or if filename does not specify a path, the system uses the standard search strategy discussed in the [Remarks section] to find associated executable modules that the specified module causes to be loaded.

See flag documentation on MSDN.