LOAD_LIBRARY_AS_DATAFILE top-level constant
int
const LOAD_LIBRARY_AS_DATAFILE
If this value is used, the system maps the file into the calling process's 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 GetModuleFileName, GetModuleHandle or GetProcAddress 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.
Implementation
const LOAD_LIBRARY_AS_DATAFILE = 0x00000002;