Important: The information in this document is obsolete and should not be used for new development.
CreateOffsetDescriptor
You can use theCreateOffsetDescriptor
function to create an offset descriptor record.
FUNCTION CreateOffsetDescriptor (theOffset: LongInt; VAR theDescriptor: AEDesc) : OSErr;
theOffset
- A positive integer that specifies the offset from the beginning of the container (the first element has an offset of 1), or a negative integer that specifies the offset from the end (the last element has an offset of -1).
theDescriptor
- The offset descriptor record created by
CreateOffsetDescriptor
.DESCRIPTION
TheCreateOffsetDescriptor
function creates an offset descriptor record that specifies the position of an element in relation to the beginning or end of its container.RESULT CODES
noErr 0 No error occurred memFullErr -108 Not enough room in heap zone