FSpSetFInfo
FInfo *fndrInfo ; points to the finder information The FSpSetFInfo function sets the Finder information in the volume catalog entry for the specified file or directory. It affects only the original Finder
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