예제 #1
0
        public void MapGeneric(
            ref Guid pguidObjectType,
            ref AceFlags pAceFlags,
            ref int pMask)
        {
            if (pAceFlags == 0 || pMask == 0)
            {
                return;
            }
            GenericAccess ga = new GenericAccess();

            ga.AceFlags = pAceFlags;
            ga.Mask     = pMask;
            this.model.MapGeneric(ref ga);
            pAceFlags = ga.AceFlags;
            pMask     = ga.Mask;
        }
예제 #2
0
 public void MapGeneric(ref GenericAccess generic)
 {
     SafeNativeMethods.MapGenericMask(out generic.Mask, ref ServiceGenericMapping);
 }
예제 #3
0
파일: ACLWrapper.cs 프로젝트: mind0n/hive
 public void MapGeneric(
     ref Guid pguidObjectType,
     ref AceFlags pAceFlags,
     ref int pMask)
 {
     if (pAceFlags == 0 || pMask == 0) return;
     GenericAccess ga = new GenericAccess();
     ga.AceFlags = pAceFlags;
     ga.Mask = pMask;
     this.model.MapGeneric(ref ga);
     pAceFlags = ga.AceFlags;
     pMask = ga.Mask;
 }
예제 #4
0
 public void MapGeneric(ref GenericAccess generic)
 {
     SafeNativeMethods.MapGenericMask(out generic.Mask, ref ServiceGenericMapping);
 }