pub const LOAD_LIBRARY_AS_DATAFILE: u32 = 0x00000002;
Available on Windows only.
Expand description
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.