Copyright © 2006-2018 MultiMedia Soft

DeviceChange event

Previous pageReturn to chapter overviewNext page



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.





[Visual Basic]

Public Event DeviceChange As EventHandler



public event EventHandler DeviceChange;



public: __event EventHandler* DeviceChange;



Event Data


The event handler receives an argument of type EventArgs.