Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 6 - Component Manager / Component Manager Reference
Routines for Components


Setting Component Errors

The Component Manager maintains error state information for all currently active components. In general, your component returns error information in its function result; a nonzero function result indicates an error occurred, and a function result of 0 indicates the request was successful. However, some requests require that your component return other information as its function result. In these cases, your component can use the SetComponentInstanceError procedure to report its latest error state to the Component Manager. You can also use this procedure at any time during your component's execution to report an error


Subtopics
SetComponentInstanceError

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996