Files
wj32 7bd28e4357 moved branches, tags, trunk to 1.x branch
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-10-25 02:22:46 +00:00

24 lines
851 B
C#

using System;
namespace ProcessHacker.Native.Security
{
[Flags]
public enum KeyAccess : uint
{
QueryValue = 0x0001,
SetValue = 0x0002,
CreateSubKey = 0x0004,
EnumerateSubKeys = 0x0008,
Notify = 0x0010,
CreateLink = 0x0020,
Wow64_32Key = 0x0200,
Wow64_64Key = 0x0100,
Wow64_Res = 0x0300,
All = (StandardRights.All | QueryValue | SetValue | CreateSubKey |
EnumerateSubKeys | Notify | CreateLink) & ~StandardRights.Synchronize,
GenericRead = (StandardRights.Read | QueryValue | EnumerateSubKeys | Notify) & ~StandardRights.Synchronize,
GenericWrite = (StandardRights.Write | SetValue | CreateSubKey) & ~StandardRights.Synchronize,
GenericExecute = GenericRead & ~StandardRights.Synchronize
}
}