Reading and writing the Windows registry [1]