re: advapi32: "RegGetValue" fails with some correct combinations of "dwFlags"