Important: The information in this document is obsolete and should not be used for new development.
GXSetValidation
You can use theGXSetValidationfunction to control the type and level of validation checking.
void GXSetValidation(gxValidationLevel);
gxValidationLevel- The validation flags.
DESCRIPTION
TheGXSetValidationfunction allows you to set the validation mode, as well as the validation levels, for type, structure, all object, and memory block validation options. You may pick one mode, one level, and any combination of memory options. The options are defined by thegxValidationLevelenumeration.The
GXSetValidationfunction turns validation on when you select any flags other than 0x00. If you set thegxValidationLevelflag togxNoAttributes, validation is off.This function has no effect in the non-debugging version of QuickDraw GX.
As an alternative to the use of the
GXSetValidationfunction with the internal and all object validation flags set, you can use theGXValidateAllfunction.SEE ALSO
To get the currentgxValidationLevelparameter, use theGXGetValidationfunction, described on page 4-35.The
gxValidationLevelenumeration is described in the section "Validation Levels" beginning on page 4-31.Table 4-8 on page 4-16 lists the public and internal validation options.
Table 4-9 on page 4-16 lists the type, structure, and all object validation options.
Table 4-10 on page 4-19 lists the memory validation options.
The
GXValidateAllfunction is described on page 4-43.