FltIsEcpFromUserMode function

The FltIsEcpFromUserMode routine is used to determine if an extra create parameter context structure (ECP) originated from user mode.

Syntax

BOOLEAN FLTAPI FltIsEcpFromUserMode(
  PFLT_FILTER Filter,
  PVOID       EcpContext
);

Parameters

Filter

Opaque filter pointer for the minifilter driver. This pointer uniquely identifies the minifilter driver and remains constant as long as the minifilter driver is loaded.

EcpContext

Pointer to the ECP to test.

Return Value

The routine returns TRUE if the ECP originated in user mode and FALSE if the ECP originated in kernel mode.

Requirements

   
Windows version This routine is available starting with Windows Vista.
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
DLL FltMgr.sys
IRQL "<= APC_LEVEL"

See Also

ECP_LIST

FltAcknowledgeEcp

FltGetEcpListFromCallbackData

FltInsertExtraCreateParameter

FltRemoveExtraCreateParameter

FltSetEcpListIntoCallbackData