|Microsoft DirectX 9.0|
The CreateSegment method creates a segment object that can be played to dynamically perform the volume, pan, transposition, and patch change commands in the band.
HRESULT CreateSegment( IDirectMusicSegment** ppSegment );
Address of a variable that receives a pointer to the created segment.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the error values shown in the following table.
Header: Declared in dmusici.h.