Important: The information in this document is obsolete and should not be used for new development.
GXPostGraphicsErrorYou can use the
GXPostGraphicsErrorfunction to replace the current QuickDraw GX error with another error.
void GXPostGraphicsError(gxGraphicsError error);
- The error to be posted.
GXPostGraphicsErrorfunction replaces the QuickDraw GX error about to be posted with an error message defined by the
errorparameter. You may use the QuickDraw GX errors or define your own error number and error name. This function stores the error posted so that subsequent calls to the
GXGetGraphicsErrorfunction return the error substituted by this function.
GXPostGraphicsErrorfunction is available only when the debugging version is installed.
SPECIAL CONSIDERATIONSThe error number must be within the range defined by QuickDraw GX. This range is bounded by error numbers -27999 through -27000, or is in the application range.
SEE ALSOThe use of this function is described in the section "Changing the Error, Warning, or Notice Posted" beginning on page 3-34.
Non-debugging errors that can be replaced are listed in the section "Errors" beginning on page 3-6. Non-debugging errors that can be replaced are listed in the section "Errors" beginning on page 3-6.