IXACTWaveBank::Destroy

Destroys the wave bank.

HRESULT Destroy();

Parameters

None.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

IXACTWaveBank::Destroy will synchronously destroy any cues that were using the wavebank, stopping the playback immediately, and frees resources allocated for the wavebank.

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

Requirements

Header: Declared in Xact.h.

See Also

IXACTWaveBank