mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
7bd28e4357
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
24 lines
851 B
C#
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
|
|
}
|
|
}
|