![]() |
AEDisposeDesc |
||||
Header: | AEDataModel.h | Carbon status: | Supported | |
Deallocates the memory used by a descriptor record.
OSErr AEDisposeDesc ( AEDesc *theAEDesc );
A pointer to the descriptor record to deallocate. On return, a null descriptor record. If you pass a null descriptor record in this parameter, AEDisposeDesc returns noErr.
A result code. As currently implemented, AEDisposeDesc always returns noErr.
The AEDisposeDesc function deallocates the memory used by a descriptor record. Because all Apple event structures (except for keyword-specified descriptor records) are descriptor records, you can use AEDisposeDesc for any of them.
If the AEDesc might contain an OSL token, dispose of it with
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)