2OOO, 24 December
typedef struct _SYSTEM_REGISTRY_QUOTA_INFORMATION {
ULONG RegistryQuotaAllowed; ULONG RegistryQuotaUsed; ULONG PagedPoolSize; } SYSTEM_REGISTRY_QUOTA_INFORMATION, *PSYSTEM_REGISTRY_QUOTA_INFORMATION;
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.