Important: The information in this document is obsolete and should not be used for new development.
CloseComponentResFile
This function closes the resource file that your component opened previously with theOpenComponentResFile
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
TheCloseComponentResFile
function closes the specified resource file. Your component must close any open resource files before returning to the calling application.RESULT CODES
noErr 0 No error resFNotFound -193 Resource file not found