Constant libloading::os::windows::LOAD_LIBRARY_AS_DATAFILE[−][src]

pub const LOAD_LIBRARY_AS_DATAFILE: DWORD;
This is supported on Windows only.

Map the file into the calling process’ virtual address space as if it were a data file.

Nothing is done to execute or prepare to execute the mapped file. Therefore, you cannot call functions like Library::get with this DLL. Using this value causes writes to read-only memory to raise an access violation. Use this flag when you want to load a DLL only to extract messages or resources from it.

See flag documentation on MSDN.