Microsoft DirectX 8.1 (Visual Basic)

DirectMusicSegment8.GetStyle

The GetStyle method retrieves a style.

object.GetStyle( _
  lTrack As Long, _
  mtTime As Long, _
  mtUntil As Long _
) As DirectMusicStyle8

Parts

object

Resolves to a DirectMusicSegment8 object.

lTrack

Index of the style track, or &H80000000 to find the track.

mtTime

Time at which to retrieve the style.

mtUntil

Variable that receives the time, relative to mtTime, until which the style is valid.

Return Values

Returns a DirectMusicStyle8 object.

Error Codes

If the method fails, an error is raised.