Expand Minimize

FltRegisterForDataScan routine

The FltRegisterForDataScan routine enables data scanning for the volume attached to the minifilter instance.

Syntax


NTSTATUS FltRegisterForDataScan(
  _In_  PFLT_INSTANCE Instance
);

Parameters

Instance [in]

An opaque instance pointer for the minifilter driver instance to register for data scanning.

Return value

FltRegisterForDataScan returns STATUS_SUCCESS or an appropriate NTSTATUS value, such as one of the following.

Return codeDescription
STATUS_NOT_SUPPORTED

The filter manager does not support data scans for the volume attached to this instance.

 

Remarks

If STATUS_NOT_SUPPORTED is returned by FltRegisterForDataScan, a minifilter can still create sections for data scanning using FsRtlCreateSectionForDataScan. However, section access is not synchronized and conflict resolution is left to the minifilter driver.

Requirements

Version

The FltRegisterForDataScan routine is available starting with Windows 8.

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= APC_LEVEL

See also

FltAllocateContext
FltCloseSectionForDataScan
FltCreateSectionForDataScan
FsRtlCreateSectionForDataScan

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft