Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 10 - Scripting Components / Scripting Components Reference
Routines Used by Scripting Components / Manipulating Trailers for Generic Storage Descriptor Records


OSARemoveStorageType

You can use the OSARemoveStorageType routine to remove a trailer from the script data in a generic storage descriptor record.

FUNCTION OSARemoveStorageType (scriptData: Handle): OSErr;
scriptData
A handle to the script data.
DESCRIPTION
The OSARemoveStorageType routine removes an existing trailer (reducing the handle's size). If no trailer can be found, then the handle is not modified, and noErr is returned.

RESULT CODES
noErr0No error
errOSASystemError-1750General scripting system error
errOSABadStorageType-1752Bad storage type

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996