FSpSetFInfo
FSpSetFInfo Set the Finder information
#include <Files.h> File Manager
OSErr FSpSetFInfo(spec, fndrInfo);
FSSpec *spec; is a pointer to an FSSpec record
FInfo *fndrInfo ; points to the finder information
returns Error Code; 0=no error
The FSpSetFInfo function sets the Finder information in the volume catalog
entry for the specified file or directory. It affects only the original Finder
information-the FInfo and DInfo records, not FXInfo and DXInfo.
spec is a pointer to an FSSpec record specifying the file to be opened
fndrInfo identifies the the original Finder information-the FInfo and DInfo
records
Returns: an operating system Error Code. It will be one of:
noErr (0) No error
dirNFErr (-120) Directory not found
extFSErr (-58) External file system
fLckdErr (-45) File is locked
fnfErr (-43) File not found
ioErr (-36) I/O error
nsvErr (-35) No such volume
vLckdErr (-46) Volume is locked
wPrErr (-44) Diskette is write-protected

Notes: The FSpSetFInfo functions the high-level, FSSpec version of the
PBHSetFInfo function.