GetVideoMediaGraphicsMode
The GetVideoMediaGraphicsMode function allows you to obtain the graphics mode and blend color values currently in use by a video media handler.
pascal HandlerError GetVideoMediaGraphicsMode (MediaHandler mh,
long *graphicsMode,
RGBColor *opColor);
mH
- Contains a reference to a media handler. You obtain this reference from the
GetMediaHandler function, which is described on page 2-265.
graphicsMode
- Contains a pointer to a long integer. The media handler returns the graphics mode currently in use by the media handler. This is a QuickDraw transfer mode value.
opColor
- Contains a pointer to an RGB color structure. The Movie Toolbox returns the color currently in use by the media handler. This is the blend value for blends and the transparent color for transparent operations. The Movie Toolbox supplies this value to QuickDraw when you draw in
addPin, subPin, blend, or transparent mode.
ERROR CODES
Component Manager errors
SEE ALSO
You can set the graphics mode and blend color of a video media handler by calling the SetVideoMediaGraphicsMode function, which is described in the previous section.