RegQueryValueW must return count in bytes for empty string too.