Help for this page
use NativeCall; ... my $h-key = RegOpenKeyExW(HKEY_LOCAL_MACHINE, wstr($key), 0, KEY_QUERY +_VALUE, $hkey); say $hkey;