Windows Dev Center

IXAudio2::UnregisterForCallbacks method

Removes an IXAudio2EngineCallback pointer from the XAudio2 engine callback list.

Syntax


void UnregisterForCallbacks(
  [in] IXAudio2EngineCallback *pCallback
);

Parameters

pCallback [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.

Return value

This method does not return a value.

Remarks

It is invalid to call UnregisterForCallbacks from within a callback (that is, IXAudio2EngineCallback or IXAudio2VoiceCallback).

Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Header

Xaudio2.h

See also

IXAudio2
XAudio2 Callbacks

 

 

Community Additions

ADD
Show:
© 2015 Microsoft