// fltkernel.h
NTSTATUS FLTAPI FltSetQuotaInformationFile(
[in] PFLT_INSTANCE Instance,
[in] PFILE_OBJECT FileObject,
[in] PVOID Buffer,
[in] ULONG Length
);
View the official Windows Driver Kit DDI referenceNo description available.
The FltSetQuotaInformationFile routine modifies quota entries for a file object.
Instance [in]An opaque instance pointer for the minifilter driver instance that the operation is to be sent to. The instance must be attached to the volume where the file resides.
FileObject [in]The file object pointer for the file.
Buffer [in]A pointer to a caller-supplied, FILE_GET_QUOTA_INFORMATION-structured input buffer that contains the quota information entries to be set.
Length [in]The length, in bytes, of the buffer that the Buffer parameter points to.
FltSetQuotaInformationFile returns STATUS_SUCCESS or an appropriate NTSTATUS value such as the following.
| Return code | Description |
|---|---|
| STATUS_FLT_DELETING_OBJECT | The instance or volume is being torn down. This is an error code. |