Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 6 - Resolving and Creating Object Specifier Records / Reference to Resolving and Creating Object Specifier Records
Routines for Resolving and Creating Object Specifier Records / Creating Object Specifier Records


CreateOffsetDescriptor

You can use the CreateOffsetDescriptor 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
The CreateOffsetDescriptor 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
noErr0No error occurred
memFullErr-108Not enough room in heap zone

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996