IEI Integration HDC-3x-Series_SDK_Windows User Manual
Page 42
HDC-3x Series SDK (Windows)
Page 42
mb86h55reb.Reset();
break
;
case
Mb86H55reb
.
AsyncEventResult
.OperationCancel:
break
;
case
Mb86H55reb
.
AsyncEventResult
.Warning:
break
;
case
Mb86H55reb
.
AsyncEventResult
.SeriousError:
break
;
case
Mb86H55reb
.
AsyncEventResult
.HdmiCableStatusChanged:
break
;
case
Mb86H55reb
.
AsyncEventResult
.OperationContinue:
break
;
case
Mb86H55reb
.
AsyncEventResult
.AudioStatusChanged:
break
;
default
:
break
;
}
}
void
SystemEvents_PowerModeChanged(
object
sender,
Microsoft.Win32.
PowerModeChangedEventArgs
e)
{
switch
(e.Mode)
{
case
Microsoft.Win32.
PowerModes
.Suspend:
mb86h55reb.Close();
break
;
case
Microsoft.Win32.
PowerModes
.Resume:
mb86h55reb.DirectShowEnabled(miChipNo, mbDirectShowEnabled);
mbIsMb86h55rebOpened = mb86h55reb.Open(miChipNo,
this
.Handle);