FltSetQuotaInformationFile function (fltkernel.h)
The FltSetQuotaInformationFile routine modifies quota entries for a file object.
Syntax
NTSTATUS FLTAPI FltSetQuotaInformationFile(
[in] PFLT_INSTANCE Instance,
[in] PFILE_OBJECT FileObject,
[in] PVOID Buffer,
[in] ULONG Length
);
Parameters
[in] Instance
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.
[in] FileObject
The file object pointer for the file.
[in] Buffer
A pointer to a caller-supplied, FILE_GET_QUOTA_INFORMATION-structured input buffer that contains the quota information entries to be set.
[in] Length
The length, in bytes, of the buffer that the Buffer parameter points to.
Return value
FltSetQuotaInformationFile returns STATUS_SUCCESS or an appropriate NTSTATUS value such as the following.
Return code | Description |
---|---|
|
The instance or volume is being torn down. This is an error code. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Target Platform | Universal |
Header | fltkernel.h (include Fltkernel.h) |
Library | FltMgr.lib |
DLL | Fltmgr.sys |
IRQL | PASSIVE_LEVEL |