Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the style underlying the control segment at a given time.
object.GetStyle( _ mtTime As Long, _ mtUntil As Long _ ) As DirectMusicStyle8
Returns a DirectMusicStyle8 object.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DMUS_E_NO_MASTER_CLOCK |
DMUS_E_GET_UNSUPPORTED |
DMUS_E_NOT_FOUND |
DMUS_E_TRACK_NOT_FOUND |
Normally the primary segment is the control segment. However, a secondary segment can be designated as a control segment when it is played. The object returned by the method can become invalid before the time returned in mtUntil if another control segment is cued.