Using Win32 functions in Visual FoxPro Image Gallery
System Information
..msdn
ExpandEnvironmentStrings
GetComputerName
GetComputerNameEx
GetComputerObjectName
GetCurrentHwProfile
GetKeyboardType
GetNativeSystemInfo
GetProductInfo
GetSysColor
GetSystemDirectory
GetSystemInfo
GetSystemMetrics
GetSystemRegistryQuota
GetSystemWow64Directory
GetUserName
GetUserNameEx
GetVersion
GetVersionEx
GetWindowsDirectory
IsNetworkAlive
SetComputerName
SetSysColors
SystemParametersInfo
Code examples:
GetSystemRegistryQuota
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the current size of the registry and the maximum size that the registry is allowed to attain on the system.
Code examples:
Declaration:
BOOL WINAPI GetSystemRegistryQuota(
  __out_opt  PDWORD pdwQuotaAllowed,
  __out_opt  PDWORD pdwQuotaUsed
);
FoxPro declaration:
DECLARE INTEGER GetSystemRegistryQuota IN kernel32;
    LONG @pdwQuotaAllowed,;
    LONG @pdwQuotaUsed

Parameters:
pdwQuotaAllowed [out, optional]
A pointer to a variable that receives the maximum size that the registry is allowed to attain on this system, in bytes.

pdwQuotaUsed [out, optional]
A pointer to a variable that receives the current size of the registry, in bytes.
Return value:
If the function succeeds, the return value is nonzero.
Usage:
LOCAL nAllowed, nUsed
STORE 0 TO nAllowed, nUsed

? GetSystemRegistryQuota(@nAllowed, @nUsed)
? "Allowed:", TRANSFORM(nAllowed, "999,999,999,999"), "bytes"
? "Used:", TRANSFORM(nUsed, "999,999,999,999"), "bytes"
Word Index links for the GetSystemRegistryQuota :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-01-07 12:28:30
Modified: 2009-01-07 12:29:51
Visited in last 7 days: 11
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.196.47.128)
4 sec.
Function group: 'Process and Thread'
7 sec.Function: 'AVIFileWriteData'
Function group: 'Windows Multimedia'
14 sec.Function: 'AVIStreamGetFrameOpen'
Function group: 'Windows Multimedia'
19 sec.Function: 'NetScheduleJobDel'
Function group: 'Network Management'
23 sec.Function: 'InternetOpen'
Function group: 'Internet Functions (WinInet)'
27 sec.Function: 'mixerOpen'
Function group: 'Windows Multimedia'
30 sec.Examples
35 sec.Function: 'FindNextUrlCacheGroup'
Function group: 'Internet Functions (WinInet)'
38 sec.Example: 'Retrieving local computer and user names'
42 sec.Links
Google
Advertise here!