FltSetQuotaInformationFile - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltsetquotainformationfile)

FltSetQuotaInformationFile function

Description

The FltSetQuotaInformationFile routine modifies quota entries for a file object.

Parameters

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.

Return value

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.

See also

FILE_GET_QUOTA_INFORMATION

FltQueryQuotaInformationFile

ZwSetQuotaInformationFile