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


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

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

noErr0No error
resFNotFound-193Resource file not found

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996