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