Constant libloading::os::windows::LOAD_LIBRARY_AS_IMAGE_RESOURCE
source · pub const LOAD_LIBRARY_AS_IMAGE_RESOURCE: u32 = 0x00000020;
Available on Windows only.
Expand description
Map the file into the process’ virtual address space as an image file.
The loader does not load the static imports or perform the other usual initialisation steps. Use this flag when you want to load a DLL only to extract messages or resources from it.
Unless the application depends on the file having the in-memory layout of an image, this value
should be used with either LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE
or
LOAD_LIBRARY_AS_DATAFILE
.