GetSegmentCount
Return cumulative count of animation segments.
Synopsis
long GetSegmentCount (struct SCelContext* context,long channelNumber)
Description
Returns the count of animation segments that have flowed through the specified logical channel. This value will increase monotonically, and can be used to determine segment boundaries. This value is not an absolute segment number identifying a particular animation segment within the logical channel.
Arguments
context
- Pointer to context structure for the SCel subscriber.
channelNumber
- Logical channel number.
Return Value
Returns a cumulative count of animation segments, or a negative error code.
Caveat
This function is part of the Subscriber.lib library file that can currently (Toolkit1.5) be found in Attic:Streaming:2p1:DataStream:Subscribers:Subscriber.lib. It will later be integrated into the main Streaming tree.
See Also
GetFramesRemaining