Important: The information in this document is obsolete and should not be used for new development.
AERemoveCoercionHandler
You can use theAERemoveCoercionHandlerfunction to remove a coercion handler from either the application or system coercion handler dispatch table.
FUNCTION AERemoveCoercionHandler (fromType: DescType; toType: DescType; handler: ProcPtr; isSysHandler: Boolean): OSErr;
fromType- The descriptor type of the data coerced by the handler.
toType- The descriptor type of the resulting data.
handler- A pointer to the coercion handler. Although the
fromTypeandtoTypeparameters would be sufficient to identify the handler to be removed, providing thehandlerparameter is a safeguard to ensure that you remove the correct handler.isSysHandler
The coercion table from which to remove the handler. If the value of this parameter isTRUE, the handler is removed from the system coercion table. If the value isFALSE, the handler is removed from the application coercion dispatch table.RESULT CODES
noErr 0 No error memFullErr -108 Not enough room in heap zone errAEHandlerNotFound -1717 No coercion handler found