Sound::SetVolumeVariationCompletionCallback
Defined in:  
Installs a completion callback function that is invoked when a volume variation has completed.
C4Sound.hPrototype
void SetVolumeVariationCompletionCallback(VariationCallback *callback, void *cookie = nullptr);
Parameters
| callback | The volume variation completion callback function. This parameter may be nullptr, in which case the sound has no volume variation completion callback function. | 
| cookie | The cookie that is passed to the volume variation completion callback function as its last parameter. | 
Description
The SetVolumeVariationCompletionCallback function installs a completion callback function that is invoked every time that a volume variation operation completes for the sound for which it is installed. The VariationCallback type is defined as follows.
typedef void VariationCallback(Sound *, void *);
callback parameter is called, the pointer to the sound object and the value supplied in the cookie parameter are passed to it. By default, there is no volume variation completion callback function installed.
See Also
