UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:fltkernel.FltEnumerateInstanceInformationByVolumeName |
FltEnumerateInstanceInformationByVolumeName function (fltkernel.h) |
The FltEnumerateInstanceInformationByVolumeName routine provides information about minifilter driver instances and legacy filter drivers that are attached to the volume with the specified name. |
ifsk\fltenumerateinstanceinformationbyvolumename.htm |
ifsk |
04/16/2018 |
|
FltEnumerateInstanceInformationByVolumeName, FltEnumerateInstanceInformationByVolumeName routine [Installable File System Drivers], fltkernel/FltEnumerateInstanceInformationByVolumeName, ifsk.fltenumerateinstanceinformationbyvolumename |
fltkernel.h |
Fltkernel.h |
Universal |
Available starting with Windows 8. |
FltMgr.lib |
<= APC_LEVEL |
Windows |
|
|
|
|
|
The FltEnumerateInstanceInformationByVolumeName routine provides information about minifilter driver instances and legacy filter drivers that are attached to the volume with the specified name.
The name of the volume to enumerate filter instances for.
Zero-based index of the minifilter driver instance or legacy filter driver for which the information is requested.
Type of information to be returned for the minifilter driver instance or legacy filter driver. This parameter can have one of the following values.
Value | Meaning |
---|---|
InstanceBasicInformation | The buffer pointed to by the Buffer parameter receives an INSTANCE_BASIC_INFORMATION structure for a minifilter instance. Legacy filter drivers are ignored. |
InstanceFullInformation | The buffer pointed to by the Buffer parameter receives an INSTANCE_FULL_INFORMATION structure for a minifilter instance. Legacy filter drivers are ignored. |
InstancePartialInformation | The buffer pointed to by the Buffer parameter receives an INSTANCE_PARTIAL_INFORMATION structure for a minifilter instance. Legacy filter drivers are ignored. |
InstanceAggregateStandardInformation | The buffer pointed to by the Buffer parameter receives an INSTANCE_AGGREGATE_STANDARD_INFORMATION structure for a minifilter driver instance or legacy filter driver. |
Pointer to a caller-allocated buffer that receives the requested information. The type of the information returned in the buffer is defined by the InformationClass parameter.
Size, in bytes, of the buffer that the Buffer parameter points to. The caller should set this parameter according to the given InformationClass value.
Pointer to a caller-allocated variable that receives the number of bytes returned in the buffer that Buffer points to. If the input value of BufferSize is too small, FltEnumerateInstanceInformationByVolumeName returns STATUS_BUFFER_TOO_SMALL and sets this variable to the number of bytes required to store the requested information. This parameter is required and cannot be NULL.
FltEnumerateInstanceInformationByVolumeName returns STATUS_SUCCESS or an appropriate NTSTATUS value, such as one of the following:
Return code | Description |
---|---|
|
The buffer that the Buffer parameter points to is not large enough to store the requested information. |
|
A matching minifilter instance was found, but it is being torn down. Note that this return value does not apply to legacy filter drivers because legacy filter drivers cannot be unloaded. |
|
An invalid value was specified for the InformationClass parameter.
-or- VolumeName contains an invalid volume name. |
|
There are no more entries in the volume's instance/filter list. |
|
The volume specified in VolumeName does not exist. |
|
The path for the volume specified in VolumeName does not exist. |
|
The volume specified by VolumeName does not have any filter instances attached.
-or- The volume specified by VolumeName is being removed from the system. |
|
The volume specified by VolumeName was registered but does not have any filter instances attached. |
Using the Index parameter is simply a way for FltEnumerateInstanceInformationByVolumeName to select among minifilter driver instances and legacy filter drivers in the instance/filter list for the volume that is specified by VolumeName. Because the minifilter driver instances in the instance/filter list can change at any time, two calls to FltEnumerateInstanceInformationByVolumeName with the same Index and VolumeName values are not guaranteed to return the same result.
This routine will return both legacy filter driver information and minifilter driver instance information when the value of the InformationClass parameter is InstanceAggregateStandardInformation.
FltEnumerateInstanceInformationByDeviceObject