예제 #1
0
 internal void FireDeviceRemovedEvent(DeviceRemovedEventArgs e)
 {
     DeviceRemovedEventHandler del = OnDeviceRemoved;
     if (del != null) del(this, e);
 }
예제 #2
0
 public int OnDeviceRemoved(string DeviceId)
 {
     DeviceRemovedEventArgs arg = new DeviceRemovedEventArgs(DeviceId);
     _DeviceEnumerator.FireDeviceRemovedEvent(arg);
     return 0;
 }