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:
Class library providing access to the System Registry
RegEnumKeyEx
..msdn    Add comment     W32 Constants      Translate this page
The RegEnumKeyEx function enumerates subkeys of the specified open registry key. The function retrieves information about one subkey each time it is called.
Code examples:
Class library providing access to the System Registry
Declaration:
LONG RegEnumKeyEx(
  HKEY hKey,
  DWORD dwIndex,
  LPTSTR lpName,
  LPDWORD lpcName,
  LPDWORD lpReserved,
  LPTSTR lpClass,
  LPDWORD lpcClass,
  PFILETIME lpftLastWriteTime
);
FoxPro declaration:
DECLARE INTEGER RegEnumKeyEx IN advapi32;
    INTEGER   hKey,;
    INTEGER   dwIndex,;
    STRING  @ lpName,;
    INTEGER @ lpcbName,;
    INTEGER   lpReserved,;
    STRING  @ lpClass,;
    INTEGER @ lpcbClass,;
    INTEGER   lpftLastWriteTime

Parameters:
hKey
[in] Handle to an open key.

dwIndex
[in] Index of the subkey to retrieve.

lpName
[out] Pointer to a buffer that receives the name of the subkey, including the terminating null character.

lpcName
[in, out] Pointer to a variable that specifies the size of the buffer specified by the lpName parameter, in TCHARs.

lpReserved
Reserved; must be NULL.

lpClass
[in, out] Pointer to a buffer that receives the null-terminated class string of the enumerated subkey.

lpcClass
[in, out] Pointer to a variable that specifies the size of the buffer specified by the lpClass parameter, in TCHARs.

lpftLastWriteTime
[out] Pointer to a variable that receives the time at which the enumerated subkey was last written.
Return value:
If the function succeeds, the return value is ERROR_SUCCESS (0).
My comment:
See also RegQueryInfoKey, RegCreateKeyEx.
Word Index links for the RegEnumKeyEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-10-25 15:53:47
Modified: 2004-10-25 15:56:35
Visited in last 7 days: 14
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.79.128)
5 sec.Function: 'GetComputerNameEx'
9 sec.Function: 'OpenDesktop'
15 sec.Function: 'GetMenuItemInfo'
21 sec.Function: 'GetKeyboardState'
27 sec.Function: 'GetUserDefaultUILanguage'
39 sec.Function: 'GetIconInfo'
47 sec.Function: 'CreateWaitableTimer'
54 sec.Function: 'GetFileAttributes'
1 min.Function: 'StrFormatByteSize'
1.13 min.Function: 'GetHandleInformation'
Google
Advertise here!