コード例 #1
0
 public object MarshalNativeToManaged(System.IntPtr nativeData)
 {
     return(LockdownPairRecordHandle.DangerousCreate(nativeData, false));
 }
コード例 #2
0
 /// <summary>
 /// Creates a new <see cref="LockdownPairRecordHandle"/> from a <see cref="IntPtr"/>.
 /// </summary>
 /// <param name="unsafeHandle">
 /// The underlying <see cref="IntPtr"/>
 /// </param>
 /// <returns>
 /// </returns>
 public static LockdownPairRecordHandle DangerousCreate(System.IntPtr unsafeHandle)
 {
     return(LockdownPairRecordHandle.DangerousCreate(unsafeHandle, true));
 }