Microsoft DirectX 8.1 (Visual Basic) |
The CreateSegment method creates a segment object that can be used to perform the volume, pan, transposition, and patch change commands in the band dynamically, using the DirectMusicPerformance8.PlaySegmentEx method.
object.CreateSegment() As DirectMusicSegment8
Parts
object
Resolves to a DirectMusicBand8 object.
Return Values
Returns a DirectMusicSegment8 object.
Error Codes
If the method fails, Err.Number can be set to one of the following values:
DMUS_E_FAIL |
DMUS_E_OUTOFMEMORY |