Using Win32 functions in Visual FoxPro Image Gallery
Remote Application Programming (RAPI)
..msdn
CeCloseHandle
CeCopyFile
CeCreateDatabase
CeCreateDirectory
CeCreateFile
CeCreateProcess
CeDeleteDatabase
CeDeleteFile
CeDeleteRecord
CeEnumDBVolumes
CeFindAllFiles
CeFindFirstDatabaseEx
CeFindFirstFile
CeFindNextDatabaseEx
CeGetFileSize
CeGetLastError
CeGetSpecialFolderPath
CeGetStoreInformation
CeGetSystemInfo
CeGetSystemPowerStatusEx
CeGetTempPath
CeGetVersionEx
CeGlobalMemoryStatus
CeMoveFile
CeOidGetInfoEx
CeOpenDatabase
CeRapiFreeBuffer
CeRapiGetError
CeRapiInit
CeRapiInitEx
CeRapiInvoke
CeRapiUninit
CeReadFile
CeReadRecordProps
CeRegCloseKey
CeRegCreateKeyEx
CeRegDeleteKey
CeRegDeleteValue
CeRegEnumKeyEx
CeRegEnumValue
CeRegOpenKeyEx
CeRegQueryInfoKey
CeRegQueryValueEx
CeRegSetValueEx
CeRemoveDirectory
CeSeekDatabase
CeSetFilePointer
CeWriteFile
CeWriteRecordProps
Code examples:
Pocket PC: custom RAPI class for operating with the System Registry
CeRegEnumKeyEx
..msdn    Add comment     W32 Constants      Translate this page
This function enumerates subkeys of the specified open registry key.
Code examples:
Pocket PC: custom RAPI class for operating with the System Registry
Declaration:
LONG CeRegEnumKeyEx(
  HKEY hKey, 
  DWORD dwIndex, 
  LPWSTR lpName, 
  LPDWORD lpcbName, 
  LPDWORD lpReserved, 
  LPWSTR lpClass, 
  LPDWORD lpcbClass, 
  PFILETIME lpftLastWriteTime
);
FoxPro declaration:
DECLARE INTEGER CeRegEnumKeyEx IN rapi;
    INTEGER   hKey,;
    INTEGER   dwIndex,;
    STRING  @ lpName,;
    INTEGER @ lpcbName,;
    INTEGER   lpReserved,;
    STRING  @ lpClass,;
    INTEGER @ lpcbClass,;
    INTEGER   lpftLastWriteTime
Parameters:
hKey
[in] Handle to a currently open key or a predefined reserved handle value

dwIndex
[in] Specifies the index of the subkey to retrieve. This parameter should be 0 for the first call to the CeRegEnumKeyEx function and then incremented for subsequent calls.

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

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

lpReserved
[in] Reserved; set to NULL.

lpClass
[out] Pointer to a buffer that contains the class of the enumerated subkey when the function returns.

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

lpftLastWriteTime
[in] Ignored; set to NULL.
Return value:
ERROR_SUCCESS (0) indicates success.
My comment:
To enumerate subkeys, an application should initially call the CeRegEnumKeyEx function with the dwIndex parameter set to 0. An application should then increment the dwIndex parameter and call CeRegEnumKeyEx until there are no more subkeys (until the function returns ERROR_NO_MORE_ITEMS).
Word Index links for the CeRegEnumKeyEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-21 20:18:18
Modified: 2004-06-21 20:21:50
Visited in last 7 days: 23
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.227.127.109)
16 sec.Function: 'IsValidURL'
Function group: 'URL Monikers'
34 sec.Function: 'waveInGetNumDevs'
Function group: 'Windows Multimedia'
51 sec.Function: 'UrlUnescape'
Function group: 'Shell Lightweight Utility APIs -- Path Functions'
1.12 min.Function: 'OpenProcess'
Function group: 'Process and Thread'
1.38 min.Function: 'RealDriveType'
Function group: 'Shell Functions'
1.67 min.Function: 'TerminateJobObject'
Function group: 'Process and Thread'
1.93 min.Links
2.23 min.Function: 'CeWriteFile'
Function group: 'Remote Application Programming (RAPI)'
2.52 min.
Function group: 'Window Property'
2.78 min.Function: 'CeCreateDatabase'
Function group: 'Remote Application Programming (RAPI)'
Google
Advertise here!