Exemplo n.º 1
0
 public static extern int CreatePrivateObjectSecurity(ref SECURITY_DESCRIPTOR ParentDescriptor,
                                                  SECURITY_DESCRIPTOR CreatorDescriptor,
                                                  SECURITY_DESCRIPTOR NewDescriptor, int IsDirectoryObject,
                                                  int Token, GENERIC_MAPPING GenericMapping);
Exemplo n.º 2
0
 public static extern int SetPrivateObjectSecurity(int SecurityInformation,
                                               SECURITY_DESCRIPTOR ModificationDescriptor,
                                               SECURITY_DESCRIPTOR ObjectsSecurityDescriptor,
                                               GENERIC_MAPPING GenericMapping, int Token);
Exemplo n.º 3
0
 public static extern int AccessCheckAndAuditAlarm(string SubsystemName, IntPtr HandleId, string ObjectTypeName,
                                               string ObjectName, SECURITY_DESCRIPTOR SecurityDescriptor,
                                               int DesiredAccess, GENERIC_MAPPING GenericMapping,
                                               int ObjectCreation, int GrantedAccess, int AccessStatus,
                                               ref int pfGenerateOnClose);
Exemplo n.º 4
0
 public static extern void MapGenericMask(int AccessMask, GENERIC_MAPPING GenericMapping);
Exemplo n.º 5
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);