Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
OSAGetStorageType
You can use theOSAGetStorageTypefunction to retrieve the scripting component subtype from the script trailer appended to the script data in a generic storage descriptor record.
FUNCTION OSAGetStorageType(scriptData: Handle; VAR type: DescType): OSErr;
scriptData
A handle to the script data.type- The descriptor type specified in the script data trailer.
DESCRIPTION
TheOSAGetStorageTypefunction retrieves the scripting component subtype from the trailer. If no trailer can be found,OSAGetStorageTypereturns the errorerrOSABadStorageType.RESULT CODES
noErr 0 No error errOSASystemError -1750 General scripting system error errOSABadStorageType -1752 Bad storage type
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |