Expand Minimize

MmGetSystemRoutineAddress routine

The MmGetSystemRoutineAddress routine returns a pointer to a function specified by SystemRoutineName.

Syntax


PVOID MmGetSystemRoutineAddress(
  _In_  PUNICODE_STRING SystemRoutineName
);

Parameters

SystemRoutineName [in]

Specifies the name of the system routine to resolve.

Return value

If the function name can be resolved, the routine returns a pointer to the function. Otherwise, the routine returns NULL.

Remarks

Drivers can use this routine to determine if a routine is available on a specific version of Windows. It can only be used for routines exported by the kernel or HAL, not for any driver-defined routine.

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h or Ntddk.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

PowerIrpDDis, HwStorPortProhibitedDDIs

See also

IoIsWdmVersionAvailable

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.