Esempio n. 1
0
        public virtual RecoveryClientHandle irecv_reconnect(RecoveryClientHandle client, int initialPause)
        {
            RecoveryClientHandle returnValue;

            returnValue     = RecoveryNativeMethods.irecv_reconnect(client, initialPause);
            returnValue.Api = this.Parent;
            return(returnValue);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        public virtual RecoveryError irecv_devices_get_device_by_hardware_model(string hardwareModel, out RecoveryDeviceHandle device)
        {
            RecoveryError returnValue;

            returnValue = RecoveryNativeMethods.irecv_devices_get_device_by_hardware_model(hardwareModel, out device);
            device.Api  = this.Parent;
            return(returnValue);
        }
Esempio n. 5
0
        public virtual RecoveryError irecv_devices_get_device_by_product_type(string productType, out RecoveryDeviceHandle device)
        {
            RecoveryError returnValue;

            returnValue = RecoveryNativeMethods.irecv_devices_get_device_by_product_type(productType, out device);
            device.Api  = this.Parent;
            return(returnValue);
        }
Esempio n. 6
0
        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);
        }
Esempio n. 7
0
        public virtual RecoveryDeviceHandle irecv_devices_get_all()
        {
            RecoveryDeviceHandle returnValue;

            returnValue     = RecoveryNativeMethods.irecv_devices_get_all();
            returnValue.Api = this.Parent;
            return(returnValue);
        }
Esempio n. 8
0
        public virtual RecoveryError irecv_device_event_subscribe(out RecoveryDeviceEventContextHandle context, RecoveryDeviceEventCallBack callback, System.IntPtr userData)
        {
            RecoveryError returnValue;

            returnValue = RecoveryNativeMethods.irecv_device_event_subscribe(out context, callback, userData);
            context.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);
        }
Esempio n. 10
0
 public virtual RecoveryError irecv_getret(RecoveryClientHandle client, ref uint value)
 {
     return(RecoveryNativeMethods.irecv_getret(client, ref value));
 }
Esempio n. 11
0
 public virtual RecoveryError irecv_get_mode(RecoveryClientHandle client, ref int mode)
 {
     return(RecoveryNativeMethods.irecv_get_mode(client, ref mode));
 }
Esempio n. 12
0
 public virtual RecoveryError irecv_recv_buffer(RecoveryClientHandle client, System.IntPtr buffer, int length)
 {
     return(RecoveryNativeMethods.irecv_recv_buffer(client, buffer, length));
 }
Esempio n. 13
0
 public virtual RecoveryError irecv_setenv(RecoveryClientHandle client, string variable, string value)
 {
     return(RecoveryNativeMethods.irecv_setenv(client, variable, value));
 }
Esempio n. 14
0
 public virtual RecoveryError irecv_close(RecoveryClientHandle client)
 {
     return(RecoveryNativeMethods.irecv_close(client));
 }
Esempio n. 15
0
 public virtual RecoveryError irecv_trigger_limera1n_exploit(RecoveryClientHandle client)
 {
     return(RecoveryNativeMethods.irecv_trigger_limera1n_exploit(client));
 }
Esempio n. 16
0
 public virtual RecoveryError irecv_event_unsubscribe(RecoveryClientHandle client, RecoveryEventType type)
 {
     return(RecoveryNativeMethods.irecv_event_unsubscribe(client, type));
 }
Esempio n. 17
0
 public virtual System.IntPtr irecv_strerror(RecoveryError error)
 {
     return(RecoveryNativeMethods.irecv_strerror(error));
 }
Esempio n. 18
0
 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));
 }
Esempio n. 19
0
 public virtual RecoveryError irecv_reset_counters(RecoveryClientHandle client)
 {
     return(RecoveryNativeMethods.irecv_reset_counters(client));
 }
Esempio n. 20
0
 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));
 }
Esempio n. 21
0
 public virtual RecoveryError irecv_usb_set_interface(RecoveryClientHandle client, int usbInterface, int usbAltInterface)
 {
     return(RecoveryNativeMethods.irecv_usb_set_interface(client, usbInterface, usbAltInterface));
 }
Esempio n. 22
0
 public virtual RecoveryError irecv_usb_set_configuration(RecoveryClientHandle client, int configuration)
 {
     return(RecoveryNativeMethods.irecv_usb_set_configuration(client, configuration));
 }
Esempio n. 23
0
 public virtual System.IntPtr irecv_get_device_info(RecoveryClientHandle client)
 {
     return(RecoveryNativeMethods.irecv_get_device_info(client));
 }
Esempio n. 24
0
 public virtual RecoveryError irecv_send_file(RecoveryClientHandle client, string filename, int dfuNotifyFinished)
 {
     return(RecoveryNativeMethods.irecv_send_file(client, filename, dfuNotifyFinished));
 }
Esempio n. 25
0
 public virtual void irecv_set_debug_level(int level)
 {
     RecoveryNativeMethods.irecv_set_debug_level(level);
 }
Esempio n. 26
0
 public virtual RecoveryError irecv_send_command(RecoveryClientHandle client, string command)
 {
     return(RecoveryNativeMethods.irecv_send_command(client, command));
 }
Esempio n. 27
0
 public virtual void irecv_exit()
 {
     RecoveryNativeMethods.irecv_exit();
 }
Esempio n. 28
0
 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));
 }
Esempio n. 29
0
 public virtual RecoveryError irecv_event_subscribe(RecoveryClientHandle client, RecoveryEventType type, RecoveryEventCallBack callback, System.IntPtr userData)
 {
     return(RecoveryNativeMethods.irecv_event_subscribe(client, type, callback, userData));
 }
Esempio n. 30
0
 public virtual RecoveryError irecv_finish_transfer(RecoveryClientHandle client)
 {
     return(RecoveryNativeMethods.irecv_finish_transfer(client));
 }