Export (0) Print
Expand All
Expand Minimize

FltObjectReference routine

The FltObjectReference routine adds a rundown reference to an opaque filter, instance, or volume pointer.

Syntax


NTSTATUS FltObjectReference(
  _Inout_  PVOID FltObject
);

Parameters

FltObject [in, out]

Opaque filter pointer (PFLT_FILTER), instance pointer (PFLT_INSTANCE), or volume pointer (PFLT_VOLUME).

Return value

FltObjectReference returns STATUS_SUCCESS or an appropriate NTSTATUS value such as the following:

Return codeDescription
STATUS_FLT_DELETING_OBJECT

The minifilter driver, instance, or volume is being torn down. This is an error code.

 

Remarks

Adding a rundown reference to an opaque filter, instance, or volume object pointer prevents the object from being freed.

To remove a rundown reference from an opaque filter, instance, or volume pointer, call FltObjectDereference.

Requirements

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= DISPATCH_LEVEL

See also

FltObjectDereference

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft