SGGetChannelSettings
TheSGGetChannelSettingsfunction retrieves the current settings of one channel used by the sequence grabber. The sequence grabber places this configuration information into a Movie Toolbox user data list.
pascal ComponentResult SGGetChannelSettings (SeqGrabComponent s, SGChannel c, UserData *ud, long flags);
s- Specifies the component instance that identifies your connection to the sequence grabber component. You obtain this value from the Component Manager's
OpenDefaultComponentorOpenComponentfunction.c- Identifies the channel for this operation. You pass your
connection identifier. You connect to a channel component by calling theSGNewChannelorSGNewChannelFromComponentfunction, discussed on page 5-29 and page 5-30, respectively.ud- Contains a pointer. The sequence grabber returns a pointer to a Movie Toolbox user data list that contains the configuration information.
flags- Reserved for Apple. Set this parameter to 0.
DESCRIPTION
TheSGGetChannelSettingsfunction allows you to retrieve the configuration information for a single channel component. The channel component stores
that information in a Movie Toolbox user data list. You may subsequently use theSGSetChannelSettingsfunction to reconfigure the channel (this function is described next).RESULT CODES
Memory Manager errorsSEE ALSO
You may retrieve the configuration of the entire sequence grabber, including all of its channels, by using theSGGetSettingsfunction, described on page 5-47.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help