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: Text /
Chapter 8 - Dictionary Manager / Dictionary Manager Reference
Routines / Accessing a Dictionary


CloseDictionary

The CloseDictionary function closes the specified open dictionary.

FUNCTION CloseDictionary (dictionaryReference: LongInt)
                        : OSErr;
dictionaryReference
A number that specifies a particular open dictionary.
RESULT CODES
In addition to the standard File Manager and Resource Manager errors, CloseDictionary may return any of the following result codes.
noErr0No error
notBTree-410File is not a dictionary

SEE ALSO
File Manager error codes are described in Inside Macintosh: Files. Resource Manager error codes are described in Inside Macintosh: More Macintosh Toolbox.

For sample code that uses the CloseDictionary function, see Listing 8-2 on page 8-13.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996