#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;
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 referenceThis structure is documented in Windows Driver Kit.
The FILE_GET_QUOTA_INFORMATION structure is used to query for quota information.
NextEntryOffsetOffset, in bytes, of the next FILE_GET_QUOTA_INFORMATION-typed entry. This member is zero if no other entries follow this one.
SidLengthLength, in bytes, of the Sid member.
SidSecurity identifier (SID) whose quota information is to be returned.
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.