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