IXACTSoundBank::Destroy

Destroys the sound bank.

HRESULT Destroy();

Parameters

None.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

IXACTSoundBank::Destroy will synchronously destroy all cues associated with the soundbank, stopping the playback immediately, and frees resources allocated for the soundbank.

For further information on using this method, see Managing XACT Resources and Notifications.

Requirements

Header: Declared in Xact.h.

See Also

IXACTSoundBank