Important: The information in this document is obsolete and should not be used for new development.
GXGetGraphicsErrorYou can use the
GXGetGraphicsErrorfunction to obtain the first and last QuickDraw GX errors posted.
gxGraphicsError GXGetGraphicsError(gxGraphicsError *stickyError);
- On return, a pointer to the first error posted.
- function result
- The last error posted.
GXGetGraphicsErrorfunction returns the last error posted, or 0 if no error has been posted. This function clears the last error so that all calls to this function return 0 until an error is posted.
stickyErrorparameter, if not
nil, is a pointer to the first error posted since the last call to the
GXGetGraphicsErrorfunction. QuickDraw GX clears the
stickyErrorparameter at the end of every call to the
SEE ALSOThe use of this function is described in the section "Obtaining Errors, Warnings, and Notices" beginning on page 3-30. Non-debugging errors that may be posted are listed in the section "Errors" beginning on page 3-6. Debugging errors that may be posted are listed in the section "Errors" beginning on page 3-6.
An alternative method of posting errors is to include an application-defined error handler. This topic is described in the section "Installing an Error, Warning, or Notice Handler" beginning on page 3-38.
GXSetUserGraphicsErrorfunction is used to install the error handler and is described on page 3-56.