DeviceChange event |
|
Remarks
Occurs whenever the system default multimedia input/output device (sound card) is changed through the Windows Control Panel's multimedia settings or when a new USB device is plugged or unplugged.
This event is only intended for usage with Windows XP and earlier versions. When dealing with Windows Vista and higher versions it's recommended catching the CoreAudioDeviceAdded, CoreAudioDeviceRemoved, CoreAudioDeviceStateChange and CoreAudioDeviceDefaultChange events.
For further details about synchronization through Events see the How to synchronize the container application through events tutorial.
Syntax
Event Data
The event handler receives an argument of type EventArgs.
|