19 _In_ PWSTR ObjectName,
22 _In_opt_ PVOID Context,
23 _In_ PPH_ACCESS_ENTRY AccessEntries,
24 _In_ ULONG NumberOfAccessEntries
32 _In_ PWSTR ObjectName,
35 _In_opt_ PVOID Context,
36 _In_ PPH_ACCESS_ENTRY AccessEntries,
37 _In_ ULONG NumberOfAccessEntries
48 _In_ SECURITY_INFORMATION SecurityInformation
51 ACCESS_MASK access = 0;
54 (SecurityInformation & OWNER_SECURITY_INFORMATION) ||
55 (SecurityInformation & GROUP_SECURITY_INFORMATION) ||
56 (SecurityInformation & DACL_SECURITY_INFORMATION)
59 access |= READ_CONTROL;
62 if (SecurityInformation & SACL_SECURITY_INFORMATION)
64 access |= ACCESS_SYSTEM_SECURITY;
71 _In_ SECURITY_INFORMATION SecurityInformation
74 ACCESS_MASK access = 0;
77 (SecurityInformation & OWNER_SECURITY_INFORMATION) ||
78 (SecurityInformation & GROUP_SECURITY_INFORMATION)
81 access |= WRITE_OWNER;
84 if (SecurityInformation & DACL_SECURITY_INFORMATION)
89 if (SecurityInformation & SACL_SECURITY_INFORMATION)
91 access |= ACCESS_SYSTEM_SECURITY;
101 _Out_ PSECURITY_DESCRIPTOR *SecurityDescriptor,
102 _In_ SECURITY_INFORMATION SecurityInformation,
103 _In_opt_ PVOID Context
110 _In_ PSECURITY_DESCRIPTOR SecurityDescriptor,
111 _In_ SECURITY_INFORMATION SecurityInformation,
112 _In_opt_ PVOID Context
120 _In_ ULONG ObjectType,
121 _In_ SECURITY_INFORMATION SecurityInformation,
122 _Out_ PSECURITY_DESCRIPTOR *SecurityDescriptor
130 _In_ ULONG ObjectType,
131 _In_ SECURITY_INFORMATION SecurityInformation,
132 _In_ PSECURITY_DESCRIPTOR SecurityDescriptor
142 _Out_ PPH_ACCESS_ENTRY *AccessEntries,
143 _Out_ PULONG NumberOfAccessEntries
150 _In_ ACCESS_MASK Access,
151 _In_ PPH_ACCESS_ENTRY AccessEntries,
152 _In_ ULONG NumberOfAccessEntries