* @return the value of the registry entry
*
* @throws SystemInfoException
*/
public RegistryEntry getRegistryEntry(Root root, String key, String name) throws SystemInfoException {
RegistryValue value;
switch (root) {
case HKEY_LOCAL_MACHINE: {
value = getLocalMachineRegistryValue(key, name);
break;