FltGetRoutineAddress function (fltkernel.h)

The FltGetRoutineAddress routine returns a pointer to a routine specified by the FltMgrRoutineName parameter.

Syntax

PVOID FLTAPI FltGetRoutineAddress(
  [in] PCSTR FltMgrRoutineName
);

Parameters

[in] FltMgrRoutineName

Name of the filter manager routine to resolve.

Return value

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

Remarks

FltGetRoutineAddress searches the filter manager's export table for the requested routine name.

To get the addresses of other routines that are exported by the kernel or hardware abstraction layer (HAL), use MmGetSystemRoutineAddress.

Note that in Windows 2000 and Windows XP, before FltGetRoutineAddress is called at least one minifilter on the system must call FltRegisterFilter. The call to FltRegisterFilter is necessary to initialize global data structures.

Requirements

Requirement Value
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
DLL Fltmgr.sys
IRQL <= DISPATCH_LEVEL

See also

MmGetSystemRoutineAddress