IXACTSoundBank::Destroy
IXACTSoundBank::Destroy
Destroys the sound bank.
[Content-driven]
HRESULT Destroy( );
Parameters
None.
Return Values
Returns S_OK if successful, an error code otherwise.
Remarks
IXACTSoundBank::Destroy synchronously destroys all cues that are associated with the sound bank. It stops the playback immediately, and frees resources that were allocated to the sound bank.
For further information on using this method, see Managing XACT Resources and Notifications.
Requirements
Header: Declared in Xact.h.
Library: Use Xact.lib.