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