Exemple #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;
        }
Exemple #2
0
 public void MapGeneric(ref GenericAccess generic)
 {
     SafeNativeMethods.MapGenericMask(out generic.Mask, ref ServiceGenericMapping);
 }
Exemple #3
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;
 }
 public void MapGeneric(ref GenericAccess generic)
 {
     SafeNativeMethods.MapGenericMask(out generic.Mask, ref ServiceGenericMapping);
 }