Important: The information in this document is obsolete and should not be used for new development.
Extended File Information Record
The Finder manipulates the fields in the extended file information records, which are data structures of typeFXInfo
; your application shouldn't have to check or set any of these fields directly.
TYPE FXInfo = RECORD fdIconID: Integer; {icon ID} fdUnused: ARRAY[1..3] OF Integer; {unused but reserved 6 bytes} fdScript: SignedByte; {script flag and code} fdXFlags: SignedByte; {reserved} fdComment: Integer; {comment ID} fdPutAway: LongInt; {home directory ID} END;
Field Description
fdIconID
- An ID number for the file's icon; the numbers that identify icons are assigned by the Finder.
fdUnused
- Reserved.
fdScript
- The script system for displaying the file's name. Ordinarily, the Finder (and the Standard File Package) displays the names of all desktop objects in the system script, which depends on the region-specific configuration of the system. The high bit of the byte in the
fdScript
field is set by default to 0, which causes the Finder to display the filename in the current system script. If the high bit is set to 1, the Finder (and the Standard File Package) displays the filename and directory name in the script whose code is recorded in the remaining 7 bits.fdXFlags
- Reserved.
fdComment
- An ID number for the comment that is displayed in the information window when the user selects a file and chooses the Get Info command from the File menu. The numbers that identify comments are assigned by the Finder.
fdPutAway
- If the user moves the file onto the desktop, the directory ID of the folder from which the user moves the file.