IXACTEngine::CreateInMemoryWaveBank
IXACTEngine::CreateInMemoryWaveBank
Creates an in-memory wave bank for use by the XACT engine.
[Code-driven][Content-driven]
HRESULT CreateInMemoryWaveBank( const void *pvBuffer, DWORD dwSize, DWORD dwFlags, DWORD dwAllocAttributes, IXACTWaveBank **ppWaveBank );
- pvBuffer
[in] Pointer to the data that is used to create the wave bank. - dwSize
[in] Value that indicates the size of the data used to create the wave bank. - dwFlags
[in] Flag values that indicate how the wave bank is 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 that the pvBuffer parameter points to. - ppWaveBank
[out] Pointer to an IXACTWaveBank object that is returned.
Returns S_OK if successful. Otherwise, an error code.
Header: Declared in Xact.h.
Library: Use Xact.lib.