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 2 - Edition Manager / Edition Manager Reference
Edition Manager Routines / Setting and Getting a Format Mark


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
noErr0No error
rfNumErr-51Bad edition reference number
noTypeErr-102Unknown format
editionMgrInitErr-450Manager not initialized

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996