Copyright © 2005-2018 MultiMedia Soft

CallbackDeviceChange delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked 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 callback can be set through a call to the CallbackDeviceChangeSet method.

 

The usage of this delegate is alternative to the DeviceChange event.

 

 

adjstudnet_i00005e

 

This event is only intended for usage with Windows XP and earlier versions. When dealing with Windows Vista and higher versions it's recommended using the CallbackForCoreAudioEvents callback.

 

For further details about callback delegates see the How to synchronize the container application through callback delegates tutorial.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackDeviceChange (

)


 

[C#]

public delegate void CallbackDeviceChange (

)


 

[C++]

public delegate void CallbackDeviceChange (

)