# GetFramesRemaining

Returns count of frames remaining in current segment of animation stream.

### Synopsis

`long GetFramesRemaining (struct SCelContext* context, long channelNumber)`

### Description

Returns the count of frames remaining in the animation segment currently flowing through the specified logical channel.

### Arguments

`context`
  Pointer to context structure for the SCel subscriber.

`channelNumber`
  Logical channel number.

### Return Value

Returns a count of frames remaining for the current segment, 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

`GetSegmentCount`