Important: The information in this document is obsolete and should not be used for new development.
OSARemoveStorageType
You can use theOSARemoveStorageTyperoutine 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
TheOSARemoveStorageTyperoutine removes an existing trailer (reducing the handle's size). If no trailer can be found, then the handle is not modified, andnoErris returned.RESULT CODES
noErr 0 No error errOSASystemError -1750 General scripting system error errOSABadStorageType -1752 Bad storage type