Using Win32 functions in Visual FoxPro Image Gallery
Registry
..msdn
GetPrivateProfileSectionNames
GetPrivateProfileString
GetProfileString
RegCloseKey
RegCreateKeyEx
RegDeleteKey
RegDeleteValue
RegEnumKey
RegEnumKeyEx
RegEnumValue
RegOpenKeyEx
RegQueryInfoKey
RegQueryValueEx
RegSaveKey
RegSetValueEx
SHEnumKeyEx
SHRegCloseUSKey
SHRegEnumUSKey
SHRegOpenUSKey
WritePrivateProfileSection
WritePrivateProfileString
Code examples:
How to obtain Content-Type value for a file type from the System Registry
Saving local machine ODBC Registry Entries to XML file
RegEnumKey
..msdn    Add comment     W32 Constants      Translate this page
The RegEnumKey function enumerates subkeys of the specified open registry key. The function retrieves the name of one subkey each time it is called.
Code examples:
Saving local machine ODBC Registry Entries to XML file
How to obtain Content-Type value for a file type from the System Registry
Declaration:
LONG RegEnumKey(
  HKEY hKey,
  DWORD dwIndex,
  LPTSTR lpName,
  DWORD cchName
);
FoxPro declaration:
DECLARE INTEGER RegEnumKey IN advapi32;
    INTEGER   hKey,;
    INTEGER   dwIndex,;
    STRING  @ lpName,;
    INTEGER   cchName
Parameters:
hKey
[in] Handle to an open key.

dwIndex
[in] Index of the subkey of hKey to be retrieved.

lpName
[out] Pointer to a buffer that receives the name of the subkey.

cchName
[in] Size of the buffer pointed to by the lpName parameter.
Return value:
If the function succeeds, the return value is ERROR_SUCCESS (0).
My comment:
MSDN: This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the RegEnumKeyEx function.
Word Index links for the RegEnumKey :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-01-30 09:41:09
Modified: 2003-01-30 09:44:00
Visited in last 7 days: 44
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), 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.197.153)
3 sec.Function: 'waveInStart'
Function group: 'Windows Multimedia'
Google
Advertise here!