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.
Syntax
|