Copyright © 2005-2019 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.

 

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 with the API tutorial.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackDeviceChange (

)


 

[C#]

public delegate void CallbackDeviceChange (

)


 

[C++]

public delegate void CallbackDeviceChange (

)