switch (valueType) {
// case BINARY: return new BinaryRegistryValue(registry.getByteArrayValue(name));
// case QWORD: return new QWordRegistryValue(registry.getLongValue(name));
// case EXPAND_SZ: return new ExpandSzRegistryValue(registry.getStringValue(name));
case DWORD: {
return new DWordRegistryValue(registry.getIntValue(name));
}
case SZ: {
return new SzRegistryValue(registry.getStringValue(name));
}