![]() |
AERemoveCoercionHandler |
||||
Header: | AEDataModel.h | Carbon status: | Supported | |
Removes a coercion handler from a coercion handler dispatch table.
OSErr AERemoveCoercionHandler ( DescType fromType, DescType toType, AECoercionHandlerUPP handler, Boolean isSysHandler );
The descriptor type of the data coerced by the handler. For a list of AppleScripts predefined descriptor types, see
The descriptor type of the resulting data. For a list of AppleScripts predefined descriptor types, see
A universal procedure pointer to the coercion handler to remove. Although the parameters fromType and toType are sufficient to identify the handler, you can identify the handler explicitly as a safeguard. If you pass NULL for this parameter, the Apple Event Manager relies solely on the event class and event ID to identify the handler.
Specifies the coercion table to remove the handler from. Pass TRUE to remove the handler from the system coercion table or FALSE to remove the handler from your applications coercion table. Use of the system coercion table is not recommended for Carbon applications.
A result code.
Use of system coercion tables is not recommended for Carbon applicationssee Coercion Handlers (to be supplied later) for more information.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)