#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 reference
This structure is documented in Windows Driver Kit.
The FILE_GET_QUOTA_INFORMATION structure is used to query for quota information.
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.
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.