Expand Minimize

FltSetQuotaInformationFile function

The FltSetQuotaInformationFile routine modifies quota entries for a file object.

Syntax


NTSTATUS FltSetQuotaInformationFile(
  _In_  PFLT_INSTANCE Instance,
  _In_  PFILE_OBJECT FileObject,
  _In_  PVOID Buffer,
  _In_  ULONG Length
);

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 codeDescription
STATUS_FLT_DELETING_OBJECT

The instance or volume is being torn down. This is an error code.

 

Requirements

Version

Available starting with Windows 8.

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

PASSIVE_LEVEL

See also

FILE_GET_QUOTA_INFORMATION
FltQueryQuotaInformationFile
ZwSetQuotaInformationFile

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft