use Win32API::Registry qw( regLastError );