#ifndef _NTEXAPI_H
typedef struct _SYSTEM_REGISTRY_QUOTA_INFORMATION
{
ULONG RegistryQuotaAllowed;
ULONG RegistryQuotaUsed;
SIZE_T PagedPoolSize;
} SYSTEM_REGISTRY_QUOTA_INFORMATION, *PSYSTEM_REGISTRY_QUOTA_INFORMATION;
View code on GitHub
No description available.
Allowed size of all currently loaded hives.
Size of all currently loaded hives.
Paged Pool size. RegistryQuotaAllowed
shouldn't be grater then 80 percent of PagedPoolSize
.
Remember that registry size is always sum of all loaded hives. So if you call NtSaveKey
, size of registry will have the highest point at the end of saving.
SYSTEM_REGISTRY_QUOTA_INFORMATION
don't need restart of system to change registry quota.
Privilege: SE_INCREASE_QUOTA_PRIVILEGE