public virtual RecoveryError irecv_open_with_ecid(out RecoveryClientHandle client, ulong ecid) { RecoveryError returnValue; returnValue = RecoveryNativeMethods.irecv_open_with_ecid(out client, ecid); client.Api = this.Parent; return(returnValue); }
public virtual RecoveryClientHandle irecv_reconnect(RecoveryClientHandle client, int initialPause) { RecoveryClientHandle returnValue; returnValue = RecoveryNativeMethods.irecv_reconnect(client, initialPause); returnValue.Api = this.Parent; return(returnValue); }
public virtual RecoveryError irecv_open_with_ecid_and_attempts(out RecoveryClientHandle pclient, ulong ecid, int attempts) { RecoveryError returnValue; returnValue = RecoveryNativeMethods.irecv_open_with_ecid_and_attempts(out pclient, ecid, attempts); pclient.Api = this.Parent; return(returnValue); }
public virtual RecoveryError irecv_devices_get_device_by_client(RecoveryClientHandle client, out RecoveryDeviceHandle device) { RecoveryError returnValue; returnValue = RecoveryNativeMethods.irecv_devices_get_device_by_client(client, out device); device.Api = this.Parent; return(returnValue); }
public static RecoveryError irecv_getenv(RecoveryClientHandle client, string variable, out string value) { System.Runtime.InteropServices.ICustomMarshaler valueMarshaler = NativeStringMarshaler.GetInstance(null); System.IntPtr valueNative = System.IntPtr.Zero; RecoveryError returnValue = RecoveryNativeMethods.irecv_getenv(client, variable, out valueNative); value = ((string)valueMarshaler.MarshalNativeToManaged(valueNative)); valueMarshaler.CleanUpNativeData(valueNative); return(returnValue); }
public static extern RecoveryError irecv_send_file(RecoveryClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string filename, int dfuNotifyFinished);
/// <summary> /// Creates a new <see cref="RecoveryClientHandle"/> from a <see cref="IntPtr"/>. /// </summary> /// <param name="unsafeHandle"> /// The underlying <see cref="IntPtr"/> /// </param> /// <returns> /// </returns> public static RecoveryClientHandle DangerousCreate(System.IntPtr unsafeHandle) { return(RecoveryClientHandle.DangerousCreate(unsafeHandle, true)); }
public virtual System.IntPtr irecv_get_device_info(RecoveryClientHandle client) { return(RecoveryNativeMethods.irecv_get_device_info(client)); }
public virtual RecoveryError irecv_getret(RecoveryClientHandle client, ref uint value) { return(RecoveryNativeMethods.irecv_getret(client, ref value)); }
public virtual RecoveryError irecv_recv_buffer(RecoveryClientHandle client, System.IntPtr buffer, int length) { return(RecoveryNativeMethods.irecv_recv_buffer(client, buffer, length)); }
public virtual RecoveryError irecv_send_command(RecoveryClientHandle client, string command) { return(RecoveryNativeMethods.irecv_send_command(client, command)); }
public virtual RecoveryError irecv_event_unsubscribe(RecoveryClientHandle client, RecoveryEventType type) { return(RecoveryNativeMethods.irecv_event_unsubscribe(client, type)); }
public object MarshalNativeToManaged(System.IntPtr nativeData) { return(RecoveryClientHandle.DangerousCreate(nativeData, false)); }
public static extern RecoveryError irecv_send_buffer(RecoveryClientHandle client, ref char buffer, int length, int dfuNotifyFinished);
public static extern RecoveryError irecv_send_command(RecoveryClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string command);
public virtual int irecv_usb_bulk_transfer(RecoveryClientHandle client, char endpoint, ref char data, int length, ref int transferred, uint timeout) { return(RecoveryNativeMethods.irecv_usb_bulk_transfer(client, endpoint, ref data, length, ref transferred, timeout)); }
public virtual RecoveryError irecv_event_subscribe(RecoveryClientHandle client, RecoveryEventType type, RecoveryEventCallBack callback, System.IntPtr userData) { return(RecoveryNativeMethods.irecv_event_subscribe(client, type, callback, userData)); }
public virtual RecoveryError irecv_execute_script(RecoveryClientHandle client, string script) { return(RecoveryNativeMethods.irecv_execute_script(client, script)); }
public virtual RecoveryError irecv_send_file(RecoveryClientHandle client, string filename, int dfuNotifyFinished) { return(RecoveryNativeMethods.irecv_send_file(client, filename, dfuNotifyFinished)); }
public virtual RecoveryError irecv_reset_counters(RecoveryClientHandle client) { return(RecoveryNativeMethods.irecv_reset_counters(client)); }
public virtual RecoveryError irecv_send_buffer(RecoveryClientHandle client, ref char buffer, int length, int dfuNotifyFinished) { return(RecoveryNativeMethods.irecv_send_buffer(client, ref buffer, length, dfuNotifyFinished)); }
public virtual RecoveryError irecv_finish_transfer(RecoveryClientHandle client) { return(RecoveryNativeMethods.irecv_finish_transfer(client)); }
public virtual RecoveryError irecv_setenv(RecoveryClientHandle client, string variable, string value) { return(RecoveryNativeMethods.irecv_setenv(client, variable, value)); }
public virtual RecoveryError irecv_trigger_limera1n_exploit(RecoveryClientHandle client) { return(RecoveryNativeMethods.irecv_trigger_limera1n_exploit(client)); }
public virtual RecoveryError irecv_get_mode(RecoveryClientHandle client, ref int mode) { return(RecoveryNativeMethods.irecv_get_mode(client, ref mode)); }
public virtual RecoveryError irecv_usb_set_configuration(RecoveryClientHandle client, int configuration) { return(RecoveryNativeMethods.irecv_usb_set_configuration(client, configuration)); }
public virtual RecoveryError irecv_close(RecoveryClientHandle client) { return(RecoveryNativeMethods.irecv_close(client)); }
public virtual RecoveryError irecv_usb_set_interface(RecoveryClientHandle client, int usbInterface, int usbAltInterface) { return(RecoveryNativeMethods.irecv_usb_set_interface(client, usbInterface, usbAltInterface)); }
public virtual int irecv_usb_control_transfer(RecoveryClientHandle client, char bmRequestType, char bRequest, ushort wValue, ushort wIndex, ref char data, ushort wLength, uint timeout) { return(RecoveryNativeMethods.irecv_usb_control_transfer(client, bmRequestType, bRequest, wValue, wIndex, ref data, wLength, timeout)); }
public static extern RecoveryError irecv_event_unsubscribe(RecoveryClientHandle client, RecoveryEventType type);