Share via


IXACTWaveBank::Destroy

IXACTWaveBank::Destroy

Destroys the wave bank.

[Content-driven]

  HRESULT 
  Destroy(
  );

Parameters

None.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

IXACTWaveBank::Destroy synchronously destroys any cues that are using the wavebank. It stops playback immediately, and frees resources that were allocated to the wavebank.

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

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTWaveBank