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: More Macintosh Toolbox /
Chapter 6 - Component Manager / Component Manager Reference
Routines for Components / Accessing a Component's Resource File


CloseComponentResFile

This function closes the resource file that your component opened previously with the OpenComponentResFile function.

FUNCTION CloseComponentResFile (refnum: Integer): OSErr;
refnum
The reference number that identifies the resource file to be closed. Your component obtains this value from the OpenComponentResFile function.
DESCRIPTION
The CloseComponentResFile function closes the specified resource file. Your component must close any open resource files before returning to the calling application.

RESULT CODES
noErr0No error
resFNotFound-193Resource file not found

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996