public int Unlock(IOSurfaceLockOptions options, ref int seed) { unsafe { fixed(int *p = &seed) { return(_Unlock(options, (IntPtr)p)); } } }
public int Unlock(IOSurfaceLockOptions options) { return(_Unlock(options, IntPtr.Zero)); }