Exemple #1
0
 public int SetPurgeable(IOSurfacePurgeabilityState newState, ref IOSurfacePurgeabilityState oldState)
 {
     unsafe
     {
         fixed(IOSurfacePurgeabilityState *p = &oldState)
         {
             return(_SetPurgeable(newState, (IntPtr)p));
         }
     }
 }
Exemple #2
0
 public int SetPurgeable(IOSurfacePurgeabilityState newState)
 {
     return(_SetPurgeable(newState, IntPtr.Zero));
 }