示例#1
0
文件: MmapBuf.cs 项目: nomit007/f4
   static extern IntPtr OpenFileMapping(FileRights dwDesiredAccess,
 bool bInheritHandle, string lpName);
示例#2
0
 static extern IntPtr MapViewOfFile(IntPtr hFileMappingObject,
                                    FileRights dwDesiredAccess,
                                    uint dwFileOffsetHigh,
                                    uint dwFileOffsetLow,
                                    uint dwNumberOfBytesToMap);
示例#3
0
文件: MmapBuf.cs 项目: nomit007/f4
   static extern IntPtr MapViewOfFile(IntPtr hFileMappingObject,
 FileRights dwDesiredAccess, uint dwFileOffsetHigh,
 uint dwFileOffsetLow, uint dwNumberOfBytesToMap);
 public FileAccessRule(string identity, FileRights fileRights, AccessControlType type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
示例#5
0
 static extern IntPtr OpenFileMapping(FileRights dwDesiredAccess,
                                      bool bInheritHandle,
                                      string lpName);
示例#6
0
 public FileAccessRule(string identity, FileRights fileRights, AccessControlType type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
 public FileAccessRule(IdentityReference identity, FileRights fileRights, AccessControlType type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
示例#8
0
 public FileAccessRule(IdentityReference identity, FileRights fileRights, AccessControlType type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
示例#9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(string identity, FileRights fileRights, AuditFlags type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
示例#10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(IdentityReference identity, FileRights fileRights, AuditFlags type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
示例#11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(string identity, FileRights fileRights, AuditFlags type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
示例#12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(IdentityReference identity, FileRights fileRights, AuditFlags type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }