Important: The information in this document is obsolete and should not be used for new development.
SetEditionFormatMark
A format mark indicates the next position of a read or write operation. Initially, a mark defaults to 0. After reading or writing data, the format mark is set past the last position written to or read from. To set the current mark for a given format, use theSetEditionFormatMark
function.
FUNCTION SetEditionFormatMark (whichEdition: EditionRefNum; whichFormat: FormatType; setMarkTo: LongInt): OSErr;
whichEdition
- The reference number for the edition.
whichFormat
- The format type for the edition.
setMarkTo
- The offset for the next read or write for this format.
DESCRIPTION
TheSetEditionFormatMark
function sets the current mark for the specified format type according to the value of thesetMarkTo
parameter.RESULT CODES
noErr 0 No error rfNumErr -51 Bad edition reference number noTypeErr -102 Unknown format (subscriber only) editionMgrInitErr -450 Manager not initialized