EnumKey
Gets the sub-keys of a specified key.
int EnumKey( StringArray & keys, LPCSTR lpKey )
returns the number of sub-key. Returns 0 if error due to bad key or parent.
EX1
void Registry_EnumKey_ex1() { Registry myRegAccess(HKEY_CLASSES_ROOT); if( myRegAccess.HasKey("device") ) { StringArray saKeys; myRegAccess.EnumKey(saKeys, "device") } }
origin.h