DirectX SDK

DirectMusicSegmentState.GetSegment

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

object.GetSegment() As DirectMusicSegment

Parameters

object
Object expression that resolves to a DirectMusicSegmentState object.

Return Values

If the method succeeds, it returns a DirectMusicSegment object.

Error Codes

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