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