Download EaseFilter Filter Driver SDK Setup File Download EaseFilter Filter Driver SDK Zip File
FltDetachVolume detaches a minifilter driver instance from a volume.
NTSTATUS FLTAPI FltDetachVolume( PFLT_FILTER Filter, PFLT_VOLUME Volume, PCUNICODE_STRING InstanceName );
Opaque filter pointer for the caller. This parameter is required and cannot be NULL.
Opaque volume pointer for the volume where the instance is attached. This parameter is required and cannot be NULL.
Pointer to a UNICODE_STRING structure containing the instance name for the instance to be removed. This parameter is optional and can be NULL. If it is NULL, the highest matching instance is removed.
FltDetachVolume returns STATUS_SUCCESS or an appropriate NTSTATUS value such as one of the following:
||FltDetachVolume found a matching instance, but the instance is being torn down. This is an error code.|
||No matching instance was found. This is an error code.|
FltDetachVolume detaches a minifilter driver instance from a volume and tears down the instance.
To compare the altitudes of two minifilter driver instances attached to the same volume, call FltCompareInstanceAltitudes.
|Header||fltkernel.h (include Fltkernel.h)|