Important: The information in this document is obsolete and should not be used for new development.
GXGetViewPortFilterYou can use the
GXGetViewPortFilterfunction to return the view device of a specified graphics device.
gxUserViewPortFilter GXGetViewPortFilter(gxViewPort portOrder, long *refCon);
- A reference to the view port whose currently installed view port filter you need.
- A pointer to a
longvalue. On return, the value is the reference constant that was passed to the
GXSetViewPortFilterfunction when the filter function was installed.
- function result
- A pointer to the view port filter function that is installed in the specified view port.
GXGetViewPortFilterfunction returns a pointer to the view port filter that is currently installed in the specified view port. The function also returns, in the refCon parameter, the reference constant that was passed to
GXSetViewPortFilterwhen the filter function was installed.
ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory invalid_viewPort_reference
GXSetViewPortFilterfunction is described in the previous section.
For a description of the prototype of the view port filter function, see page 1-40.