[Issue 5888] New: createKey and getKey in registry.d always use KEY_ALL_ACCESS

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 25 22:06:03 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5888

           Summary: createKey and getKey in registry.d always use
                    KEY_ALL_ACCESS
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis <verylonglogin.reg at gmail.com> 2011-04-25 22:02:20 PDT ---
createKey and getKey functions should use "access" argument instead of
REGSAM.KEY_ALL_ACCESS at lines 1087 and 1147 like this:
-1087: ,   REGSAM.KEY_ALL_ACCESS
+1087: ,   access
-1147: LONG    lRes    =   Reg_OpenKeyExA_(m_hkey, name, REGSAM.KEY_ALL_ACCESS,
hkey);
+1147: LONG    lRes    =   Reg_OpenKeyExA_(m_hkey, name, access
, hkey);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list