Skip to content

Commit deb67e9

Browse files
committed
Add Registry Standard Access Rights
1 parent b8be2fd commit deb67e9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

windows/registry/key.go

+8
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ const (
3333
// Registry key security and access rights.
3434
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms724878.aspx
3535
// for details.
36+
37+
// Standard access rights
38+
DELETE = 0x00010000
39+
READ_CONTROL = 0x00020000
40+
WRITE_DAC = 0x00040000
41+
WRITE_OWNER = 0x00080000
42+
43+
// Specific access rights
3644
ALL_ACCESS = 0xf003f
3745
CREATE_LINK = 0x00020
3846
CREATE_SUB_KEY = 0x00004

0 commit comments

Comments
 (0)