GetEditionFormatMark
Use the GetEditionFormatMark function to get the current mark for a particular format.
FUNCTION GetEditionFormatMark (whichEdition: EditionRefNum;
whichFormat: FormatType;
VAR currentMark: LongInt): OSErr;
whichEdition
- The reference number for the edition.
whichFormat
- The format type whose mark you want to get.
currentMark
- The
GetEditionFormatMark function returns the mark for the specified format in this parameter.
DESCRIPTION
If the edition does not support the format specified in the whichFormat parameter, you receive a noTypeErr result code.
RESULT CODES
| noErr | 0 | No error |
| rfNumErr | -51 | Bad edition reference number |
| noTypeErr | -102 | Unknown format |
| editionMgrInitErr | -450 | Manager not initialized |