MmGetSystemRoutineAddressEx function (wdm.h)

The MmGetSystemRoutineAddressEx function returns the address of the specified function in the specified system module.

Syntax

PVOID MmGetSystemRoutineAddressEx(
  PUNICODE_STRING ModuleName,
  PSTR            FunctionName
);

Parameters

ModuleName

Supplies a pointer to a UNICODE_STRING that describes the system module.

FunctionName

Supplies a pointer to the name of the desired function.

Return value

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.

Requirements

Requirement Value
Minimum supported client Xbox
Header wdm.h