ADC Home > Reference Library > Technical Q&As > Graphics & Imaging > ColorSync >

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]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.