Platform SDK: DirectX

DirectMusicSegmentState.GetStartPoint

The DirectMusicSegmentState.GetStartPoint method returns the offset into the segment at which play began or will begin.

object.GetStartPoint() As Long

Parameters

object
Object expression that resolves to a DirectMusicSegmentState object.

Return Values

If the method succeeds, it returns the start point for this segment state, in music time. This might not be same value as is returned by DirectMusicSegment.GetStartPoint if the start point of the segment has been changed since this segment state was created. Different instances of a playing segment can have different start points.

Error Codes

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

See Also

DirectMusicSegment.SetStartPoint, DirectMusicSegmentState.GetStartTime