Creates an in-memory wave bank for use by the XACT engine.

Windows:  This function is not supported on the Windows platform. Use IXACTEngine::CreateInMemoryWaveBank

  const void *pvBuffer,
  DWORD dwSize,
  DWORD dwFlags,
  DWORD dwAllocAttributes,
  IXACTWaveBank **ppWaveBank


  • pvBuffer
    [in] Pointer to the data used to create the wave bank.
  • dwSize
    [in] Value indicating the size of the data used to create the wave bank.
  • dwFlags
    [in] Flag value indicating how the wave bank should be created. This parameter can be zero or the value shown in the following table.
  • dwAllocAttributes
    [in] Flag values that indicate the attributes of the memory buffer pointed to by the pvBuffer parameter.
  • ppWaveBank
    [out] Pointer to a returned IXACTWaveBank object.

Return Values

Returns S_OK if successful, an error code otherwise.


Note    This function has been deprecated. Titles should use IXACTEngine::CreateInMemoryWaveBank.


Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

XACT Functions