19 TQ3WarningMethod

You can define a function to handle warnings that occur during the execution of QuickDraw3D 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


Your TQ3WarningMethod function is called whenever a QuickDraw3D routine generates a warning during its execution that QuickDraw3D cannot handle internally. Your warning-handling function should handle the warning conditions indicated by the firstWarning and lastWarning parameters. Your function must not call any QuickDraw3D routines. The reference parameter contains the long integer that you passed to Q3Warning_Register when you registered your warning handler. You can, for example, use that long integer to point to any data required by your warning handler.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker