Microsoft DirectX 8.1 (Visual Basic)

DirectMusicSegmentState8.GetSegment

The GetSegment method retrieves an object representing the segment that owns this segment state.

object.GetSegment() As DirectMusicSegment8

Parts

object

Resolves to a DirectMusicSegmentState8 object.

Return Values

Returns a DirectMusicSegment8 object.

Error Codes

If the method fails, it raises an error, and Err.Number is set.