CFRetain() 개인적인 메소드

private CFRetain ( IntPtr obj ) : IntPtr
obj System.IntPtr
리턴 System.IntPtr
예제 #1
0
 internal CFString(IntPtr handle, bool owns)
 {
     this._handle = handle;
     if (!owns)
     {
         CoreFoundation.CFRetain(handle);
     }
 }
예제 #2
0
 internal CFDictionary(IntPtr handle, bool owns)
 {
     if (handle == IntPtr.Zero)
     {
         throw new ArgumentNullException("handle");
     }
     this._handle = handle;
     if (!owns)
     {
         CoreFoundation.CFRetain(handle);
     }
 }