Fixed error notify usage for Windows Registry functions.