HANDLE EngLoadModule(
LPWSTR pwsz | |
); |
EngLoadModule loads the specified executable module into system memory for reading.
If EngLoadModule succeeds, the return value is a handle to the module that was loaded. Otherwise, null is returned.
EngLoadModule loads a data file into system memory read-only permission. To access the loaded module, the driver should call EngMapModule with the handle returned by this function. To load a writeable module, the driver should call EngLoadModuleForWrite.
Drivers that need to load an image as executable code should call EngLoadImage instead of this function.