HANDLE EngLoadModule(
LPWSTR pwsz | |
); |
EngLoadModule loads the specified executable module into system memory for reading.
Parameters
pwsz
Pointer to a null-terminated string that contains the name of the file to be loaded.
Return Value
If EngLoadModule succeeds, the return value is a handle to the module that was loaded. Otherwise, null is returned.
Comments
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.
See Also