regedit: Use a function pointer to read each registry line instead of calling get_lin...