Пример #1
0
 public static extern int PrivilegedServiceAuditAlarm(string SubsystemName, string ServiceName, int ClientToken,
                                                      PRIVILEGE_SET Privileges, int AccessGranted);
Пример #2
0
 public static extern int ObjectPrivilegeAuditAlarm(string SubsystemName, IntPtr HandleId, int ClientToken,
                                                    int DesiredAccess, PRIVILEGE_SET Privileges,
                                                    int AccessGranted);
Пример #3
0
 public static extern int PrivilegeCheck(int ClientToken, PRIVILEGE_SET RequiredPrivileges, ref int pfResult);
Пример #4
0
 public static extern int AccessCheck(ref SECURITY_DESCRIPTOR pSecurityDescriptor, int ClientToken,
                                      int DesiredAccess, GENERIC_MAPPING GenericMapping,
                                      PRIVILEGE_SET PrivilegeSet, int PrivilegeSetLength, int GrantedAccess,
                                      int Status);