Removes an IXAudio2EngineCallback pointer from the XAudio2 engine callback list.
public:
void UnregisterForCallbacks(
IXAudio2EngineCallback *pCallback
)
pCallback
Type: IXAudio2EngineCallback *
[in] IXAudio2EngineCallback pointer to remove from the XAudio2 engine callback list. If the given pointer is present more than once in the list, only the first instance in the list will be removed.
It is invalid to call UnregisterForCallbacks from within a callback (that is, IXAudio2EngineCallback or IXAudio2VoiceCallback).
Header: Declared in xaudio2.h.
Library: Use xaudio2.lib.