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:
Enumerating the subkeys for a given registry key
SHEnumKeyEx
..msdn    Add comment     W32 Constants      Translate this page
Enumerates the subkeys of the specified open registry key.
Code examples:
Enumerating the subkeys for a given registry key
Declaration:
DWORD SHEnumKeyEx(
    HKEY hkey,
    DWORD dwIndex,
    LPTSTR pszName,
    LPDWORD pcchName
    );
FoxPro declaration:
DECLARE INTEGER SHEnumKeyEx IN shlwapi;
       INTEGER   hkey,;
       INTEGER   dwIndex,;
       STRING  @ pszName,;
       INTEGER @ pcchName
Parameters:
hkey
Handle to the currently open key, or a predefined value.

dwIndex
Index of the subkey to retrieve. This parameter should be zero for the first call and incremented for subsequent calls.

pszName
Address of a character buffer that receives the enumerated key name.

pcchName
Address of a DWORD that, on entry, contains the size of the buffer at pszName. On exit, this contains the number of characters that were copied to pszName.
Return value:
Returns 0 (ERROR_SUCCESS) if successful, or a nonzero error code otherwise.
Word Index links for the SHEnumKeyEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-03 12:00:00
Modified: 2001-11-26 16:03:32
Visited in last 7 days: 37
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.224.158.39)
46 sec.Function: 'waveOutGetErrorText'
Google
Advertise here!