I'm not familiar with REG_NONE either, but it if is a valid type then only @error would show it to not exist or some other impediment like rights, etc.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.