PVOID EngFindImageProcAddress(
HANDLE hModule, | |
LPSTR lpProcName | |
); |
EngFindImageProcAddress returns the address of a function within an executable module.
EngFindImageProcAddress returns the base address of the function’s executable code if it successfully locates the function. Otherwise, it returns null.
A driver must previously have loaded the image into kernel-mode through a call to EngLoadImage.
The function identified by lpProcName must be exported by the loaded module. This is accomplished by using the EXPORTS key in the module’s .DEF file.