コード例 #1
0
        protected unsafe void OnRecoveryModeEnter(DeviceNotificationEventArgs args)
        {
            EventHandler recoveryModeEnter = this.RecoveryModeEnter;

            this.RecoveryDevice = args.Device;
            if (recoveryModeEnter != null)
            {
                recoveryModeEnter(this, args);
            }
        }
コード例 #2
0
 public static extern unsafe int AMRestorePerformDFURestore(out AMRecoveryDevice recovery_device);
コード例 #3
0
 public static extern unsafe void AMRecoveryModeDeviceSetAutoBoot(ref AMRecoveryDevice device, uint a1, uint a2, uint a3, uint a4);
コード例 #4
0
 public static extern unsafe void AMRecoveryModeDeviceReboot(ref AMRecoveryDevice device);
コード例 #5
0
 private void RecoveryDisconnectCallback(ref AMRecoveryDevice callback)
 {
     this.OnRecoveryModeLeave(new DeviceNotificationEventArgs(callback));
 }
コード例 #6
0
 private void RecoveryConnectCallback(ref AMRecoveryDevice callback)
 {
     this.recovery = true;
     this.OnRecoveryModeEnter(new DeviceNotificationEventArgs(callback));
 }
コード例 #7
0
 protected unsafe void OnRecoveryModeEnter(DeviceNotificationEventArgs args)
 {
     EventHandler recoveryModeEnter = this.RecoveryModeEnter;
     this.RecoveryDevice = args.Device;
     if (recoveryModeEnter != null)
     {
         recoveryModeEnter(this, args);
     }
 }
コード例 #8
0
 private void DfuDisconnectCallback(ref AMRecoveryDevice callback)
 {
     this.OnDfuDisconnect(new DeviceNotificationEventArgs(callback));
 }
コード例 #9
0
 public static extern unsafe int AMRestorePerformDFURestore(out AMRecoveryDevice recovery_device);
コード例 #10
0
 public static extern unsafe void AMRecoveryModeDeviceSetAutoBoot(ref AMRecoveryDevice device, uint a1, uint a2, uint a3, uint a4);
コード例 #11
0
 public static extern unsafe void AMRecoveryModeDeviceReboot(ref AMRecoveryDevice device);
コード例 #12
0
 private void RecoveryConnectCallback(ref AMRecoveryDevice callback)
 {
     this.recovery = true;
     this.OnRecoveryModeEnter(new DeviceNotificationEventArgs(callback));
 }
コード例 #13
0
 private void DfuDisconnectCallback(ref AMRecoveryDevice callback)
 {
     this.OnDfuDisconnect(new DeviceNotificationEventArgs(callback));
 }
コード例 #14
0
 private void RecoveryDisconnectCallback(ref AMRecoveryDevice callback)
 {
     this.OnRecoveryModeLeave(new DeviceNotificationEventArgs(callback));
 }
コード例 #15
0
 internal DeviceNotificationEventArgs(AMRecoveryDevice device)
 {
     this.device = device;
 }
コード例 #16
0
 internal DeviceNotificationEventArgs(AMRecoveryDevice device)
 {
     this.device = device;
 }