 |
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: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-01-30 09:41:09 | | Modified: | 2003-01-30 09:44:00 | Visited in last 7 days: 32 |