示例#1
0
 public static extern int SetPrivateObjectSecurity(int SecurityInformation,
                                                   SECURITY_DESCRIPTOR ModificationDescriptor,
                                                   SECURITY_DESCRIPTOR ObjectsSecurityDescriptor,
                                                   GENERIC_MAPPING GenericMapping, int Token);
示例#2
0
 public static extern void MapGenericMask(int AccessMask, GENERIC_MAPPING GenericMapping);
示例#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);
示例#4
0
 public static extern int CreatePrivateObjectSecurity(ref SECURITY_DESCRIPTOR ParentDescriptor,
                                                      SECURITY_DESCRIPTOR CreatorDescriptor,
                                                      SECURITY_DESCRIPTOR NewDescriptor, int IsDirectoryObject,
                                                      int Token, GENERIC_MAPPING GenericMapping);
示例#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);