Microsoft DirectX 8.0 (C++) |
Creates a DirectMusicSegment object that can be played in order to perform the volume, pan, transposition, and patch change commands in the band dynamically.
HRESULT CreateSegment( IDirectMusicSegment** ppSegment );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
E_FAIL |
E_OUTOFMEMORY |
E_POINTER |
For an example of creating a segment from a band, see Making Band Changes Programmatically.
Header: Declared in dmusici.h.