This topic has not yet been rated - Rate this topic

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 in Windows 2000 and later versions of Windows.

Header

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

Library

Contained in Ntoskrnl.lib.

IRQL

PASSIVE_LEVEL

See also

IoIsWdmVersionAvailable

 

 

Send comments about this topic to Microsoft

Build date: 4/2/2012

Did you find this helpful?
(1500 characters remaining)