Retrieves the current size of the registry and the maximum size that the registry is allowed to attain on the system.
BOOL GetSystemRegistryQuota( PDWORD pdwQuotaAllowed, PDWORD pdwQuotaUsed );
A pointer to a variable that receives the maximum size that the registry is allowed to attain on this system, in bytes.
A pointer to a variable that receives the current size of the registry, in bytes.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more information, see Using the Windows Headers.
|Minimum supported client||Windows Vista, Windows XP with SP1 [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||winbase.h (include Windows.h)|