Important: The information in this document is obsolete and should not be used for new development.
GXGetGraphicsWarning
You can use theGXGetGraphicsWarning
function to obtain the first and last warning posted.
gxGraphicsWarning GXGetGraphicsWarning (gxGraphicsWarning *stickyWarning);
stickyWarning
On return, a pointer to the first warning posted.- function result
- The last warning posted.
DESCRIPTION
TheGXGetGraphicsWarning
function returns the last warning posted, or 0 if none.The
stickyWarning
parameter, if notnil
, receives the first warning posted since the last call to theGXGetGraphicsWarning
function. QuickDraw GX clears thestickyWarning
parameter at the end of every call to theGXGetGraphicsWarning
function.SEE ALSO
The use of this function is described in the section"Obtaining Errors, Warnings, and Notices" beginning on page 3-30.QuickDraw GX non-debugging warnings that may be posted are listed in the section "Warnings" beginning on page 3-10. Debugging warnings are listed in the section "Warnings" beginning on page 3-10.
An alternative method of posting warnings is to include an application-defined warning handler. This topic is described in the section "Changing the Error, Warning, or Notice Posted" beginning on page 3-34.
The
GXSetUserGraphicsWarning
function is used to install the warning handler and is described on page 3-60.