Share via


IXACTWaveBank::GetNumWaves

IXACTWaveBank::GetNumWaves

Returns the number of wave entries in the wave bank.

[Code-driven]

  HRESULT 
  GetNumWaves(
  XACTINDEX *pnNumWaves
);

Parameters

  • pnNumWaves
    Pointer to an XACTINDEX that returns the number of waves in the wave bank.

Return Values

Returns S_OK if successful. Otherwise, an error code.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTWaveBank