Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Successful Call to NCWNewColorWorld


Q: Can I assume that the value of the ColorSync CMWorldRef parameter returned by the NCWNewColorWorld routine isn't null if the routine was successful? I'd like to determine whether a color world exists before trying to use it.

A: You can assume that if no error is returned, the CMWorldRef parameter will be valid.

[Feb 09 1996]