[PATCH 1/5] reg: Consistently use 'hkey' for HKEY variables