SGGetChannelMaxFrames
The SGGetChannelMaxFrames function allows you to determine the number of frames left to be captured from a specified channel.
pascal ComponentResult SGGetChannelMaxFrames (SGChannel c,
long *frameCount);
c
- Specifies the reference that identifies the channel for this operation. You obtain this reference from the
SGNewChannel function, described on page 5-29.
frameCount
- Contains a pointer to a long integer that is to receive a value specifying the number of frames left to be captured during the preview or record operation. If the returned value is -1, the sequence grabber captures as many frames as it can.
SEE ALSO
You set the starting value by calling the SGSetChannelMaxFrames function, which is described in the previous section.
RESULT CODE
| seqGrabInfoNotAvailable | -9407 | Sequence grabber component cannot support request |