include vmm.h
LONG _RegEnumValue(HKEY hkey, DWORD iValue, LPTSTR lpszValue,
LPDWORD lpcchValue, LPDWORD lpdwReserved, LPDWORD lpdwType,
LPBYTE lpbData, LPDWORD lpcbData)
Enumerates values for the given open registry key; the service copies one indexed value name and data block for the key each time it is called. See the documentation for the Win32 function of the same name for additional information.
ERROR_NO_MORE_ITEMS |
ERROR_KEY_DELETED |
ERROR_MORE_DATA |
ERROR_BADKEY |
ERROR_REGISTRY_IO_FAILED |
ERROR_REGISTRY_CORRUPT |
ERROR_BADDB |
HKEY_CLASSES_ROOT |
HKEY_CURRENT_USER |
HKEY_LOCAL_MACHINE |
HKEY_USERS |
HKEY_CURRENT_CONFIG |
HKEY_DYN_DATA |
REG_BINARY | Binary data in any form. |
REG_SZ | A null-terminated UNICODE or ANSI string. |
This parameter can be NULL if the type code is not required.
This parameter can be NULL only if lpbData is NULL.
Of the predefined key values, only HKEY_LOCAL_MACHINE and HKEY_DYN_DATA are available to VxDs during initialization time. The entire registry space can only be accessed after VxD initialization is complete.
The caller should reinitialize the variable containing the buffer size on each subsequent call to this service.