TQ3WarningMethod
You can define a function to handle warnings that occur during the execution of QuickDraw 3D routines.
typedef void (*TQ3WarningMethod) ( TQ3Warning firstWarning, TQ3Warning lastWarning, long reference);
firstWarning- A code that indicates the first warning that occurred since the last time your warning-handling function was called.
lastWarning- A code that indicates the most recent warning that occurred.
reference- A long integer for your application's own use.
DESCRIPTION
YourTQ3WarningMethodfunction is called whenever a QuickDraw 3D routine generates a warning during its execution that QuickDraw 3D cannot handle internally. Your warning-handling function should handle the warning conditions indicated by thefirstWarningandlastWarningparameters. Your function must not call any QuickDraw 3D routines. Thereferenceparameter contains the long integer that you passed toQ3Warning_Registerwhen you registered your warning handler. You can, for example, use that long integer to point to any data required by your warning handler.