FSpGetFInfo
FInfo *fndrInfo ; points to the finder information The FSpGetFInfo function returns the Finder information from the volume catalog entry for the specified file or directory. It provides only the original
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
bdNamErr (-37) Bad name
dirNFErr (-120) Directory not found
extFSErr (-58) External file system
fnfErr (-43) File not found
ioErr (-36) I/O error
nsvErr (-35) No such volume
paramErr (-50) Error in user parameter list