Important: The information in this document is obsolete and should not be used for new development.
FSpGetFInfo
You can use theFSpGetFInfo
function to obtain the Finder information about a file or directory.
FUNCTION FSpGetFInfo (spec: FSSpec; VAR fndrInfo: FInfo): OSErr;
spec
- An
FSSpec
record specifying the file or directory whose Finder information is desired.fndrInfo
- Information used by the Finder.
DESCRIPTION
TheFSpGetFInfo
function returns the Finder information from the volume catalog entry for the specified file or directory. TheFSpGetFInfo
function provides only the original Finder information--theFInfo
orDInfo
records, notFXInfo
orDXInfo
. (See the chapter "Finder Interface" in Inside Macintosh: Macintosh Toolbox Essentials for a discussion of Finder information.)ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forFSpGetFInfo
are
Trap macro Selector _HighLevelHFSDispatch $0007 RESULT CODES