forked from ReneLergner/WPinternals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFileAccess.cs
40 lines (39 loc) · 1.05 KB
/
FileAccess.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
namespace WPinternalsSDK
{
[Flags]
internal enum FileAccess : uint
{
AccessSystemSecurity = 16777216U,
MaximumAllowed = 33554432U,
Delete = 65536U,
ReadControl = 131072U,
WriteDAC = 262144U,
WriteOwner = 524288U,
Synchronize = 1048576U,
StandardRightsRequired = 983040U,
StandardRightsRead = 131072U,
StandardRightsWrite = 131072U,
StandardRightsExecute = 131072U,
StandardRightsAll = 2031616U,
SpecificRightsAll = 65535U,
ReadData = 1U,
ListDirectory = 1U,
WriteData = 2U,
AddFile = 2U,
AppendData = 4U,
AddSubdirectory = 4U,
CreatePipeInstance = 4U,
ReadEa = 8U,
WriteEa = 16U,
Execute = 32U,
Traverse = 32U,
DeleteChild = 64U,
ReadAttributes = 128U,
WriteAttributes = 256U,
GenericRead = 2147483648U,
GenericWrite = 1073741824U,
GenericExecute = 536870912U,
GenericAll = 268435456U
}
}