Ejemplo n.º 1
0
 public object MarshalNativeToManaged(System.IntPtr nativeData)
 {
     return(RecoveryDeviceHandle.DangerousCreate(nativeData, false));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new <see cref="RecoveryDeviceHandle"/> from a <see cref="IntPtr"/>.
 /// </summary>
 /// <param name="unsafeHandle">
 /// The underlying <see cref="IntPtr"/>
 /// </param>
 /// <returns>
 /// </returns>
 public static RecoveryDeviceHandle DangerousCreate(System.IntPtr unsafeHandle)
 {
     return(RecoveryDeviceHandle.DangerousCreate(unsafeHandle, true));
 }