regedit: Set the dlgproc value name via a function, not a global.