Important: The information in this document is obsolete and should not be used for new development.
OSAAddStorageType
You can use theOSAAddStorageType
routine to add a trailer to the script data in a generic storage descriptor record.
FUNCTION OSAAddStorageType(scriptData: Handle; type: DescType): OSErr;
scriptData
- A handle to the script data.
type
- The descriptor type to be specified in the trailer added to the script data.
DESCRIPTION
TheOSAAddStorageType
routine attaches a trailer to a handle (consequently expanding the data to which the handle refers) or updates an existing trailer.RESULT CODES
noErr 0 No error errOSASystemError -1750 General scripting system error errOSABadStorageType -1752 Bad storage type