// wdm.h
PVOID MmGetSystemRoutineAddressEx(
PUNICODE_STRING ModuleName,
PSTR FunctionName
);
View the official Windows Driver Kit DDI referenceNo description available.
The MmGetSystemRoutineAddressEx function returns the address of the specified function in the specified system module.
ModuleNameSupplies a pointer to a UNICODE_STRING that describes the system module.
FunctionNameSupplies a pointer to the name of the desired function.
If the specified module is not in the loaded module list, the specified loaded module is the kernel or the HAL, or the specified function cannot be located, then NULL is returned. Otherwise, the appropriate bit is set in the CFG bitmap and a pointer to the specified function is returned.