FILE_GET_QUOTA_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

//
// NtQueryQuotaInformationFile/NtSetQuotaInformationFile types
//

typedef struct _FILE_GET_QUOTA_INFORMATION
{
    ULONG NextEntryOffset;
    ULONG SidLength;
    _Field_size_bytes_(SidLength) SID Sid;
} FILE_GET_QUOTA_INFORMATION, *PFILE_GET_QUOTA_INFORMATION;

#endif

View code on GitHub
// ntifs.h

typedef struct _FILE_GET_QUOTA_INFORMATION {
  ULONG NextEntryOffset;
  ULONG SidLength;
  SID   Sid;
} FILE_GET_QUOTA_INFORMATION, *PFILE_GET_QUOTA_INFORMATION;

View the official Windows Driver Kit DDI reference

NtDoc

This structure is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ns-ntifs-_file_get_quota_information)

_FILE_GET_QUOTA_INFORMATION structure

Description

The FILE_GET_QUOTA_INFORMATION structure is used to query for quota information.

Members

NextEntryOffset

Offset, in bytes, of the next FILE_GET_QUOTA_INFORMATION-typed entry. This member is zero if no other entries follow this one.

SidLength

Length, in bytes, of the Sid member.

Sid

Security identifier (SID) whose quota information is to be returned.

Remarks

The FILE_GET_QUOTA_INFORMATION structure is used to query for quota information. The quota information is returned in a FILE_QUOTA_INFORMATION-structured buffer.

This structure must be aligned on a LONG (4-byte) boundary.

See also

FILE_QUOTA_INFORMATION

IRP_MJ_QUERY_QUOTA

IRP_MJ_SET_QUOTA

IoCheckQuotaBufferValidity

SID