Low-Level File Manager
System 7.0 calls
PBCatSearch PBGetVolMountInfo PBOpenDF
PBCreateFileIDRef PBGetVolMountInfoSize PBResolveFileIDRef
PBDeleteFileIDRef PBHGetVolParms PBSetForeignPrivs
PBEx changeFiles PBHOpenDF PBVolumeMount
PBGetForeignPrivs PBMakeFSSpec
File Manager Data
Async I/O
File Manager Extensions
Which File System is Active
Searching All Directories on an HFS Volume
About the File Manager and System 7.0
Identifying Files, Directories, and Volumes
New Special-Purpose Features in the File Manager
Using the File Manager
Access Files
PBHOpen Open file data fork (HFS only)
PBOpen Open the data fork of a file
PBRead Read data from an open file
PBWrite Write data to an open file
PBClose Close an open file
PBGetFPos Query current position of an open file's file mark
PBSetFPos Set position of an open file's file mark
PBAllocate Increase file allocation; logical EOF un changed
PBAllocContig Increase physical EOF as a contiguous block
PBGetEOF Obtain logical size of an open file
PBSetEOF Set the logical file size of an open file
PBFlushFile Write contents of the file buffer to disk
PBHCopyFile Duplicate a file, rename it if desired
PBEx changeFiles Swap the data stored in two files
PBCreateFileIDRef Establish a file ID reference for a file
PBDeleteFileIDRef Delete a file ID reference
PBResolveFileIDRef Retrieve the filename and parent directory ID
PBGetForeignPrivs Get a file's native access-control information
PBSetForeignPrivs Change a file's native access-control information
PBOpenDF Open the data fork of a file.
PBHOpenDF Open the data fork of a file on a hierarchical
volume.
Create/Delete Files
PBHCreate Create an empty file (both forks) (HFS only)
PBCreate
PBHDelete Delete closed file or empty directory (HFS only)
PBDelete
File Information
PBHRename Rename a file, volume, or directory (HFS only)
PBRename
PBSetFVers Change a file's version number (flat volumes only)
PBHGetFInfo Query file date/time, attributes, type... (HFS only)
PBHSetFInfo Change file date/time, Finder info, etc. (HFS only)
PBSetFInfo
PBHSetFLock Lock a file (prevent write access)(HFS only)
PBSetFLock
PBHRstFLock Unlock a file (allow write access) (HFS only)
PBRstFLock
PBLockRange Prevent access to a portion of a shared file
PBUnlockRange Restore global access to a portion of a shared file
PBGetFCBInfo Obtain information from open file control blocks
PBHMoveRename Move a file, folder, etc. and rename it if desired
PBHOpenDeny Open a file's data fork for users with permissions levels
Access Volumes
PBEject Eject a volume from its drive
PBFlushVol Update disk with any unwritten data
PBGetVInfo
PBGetVol
PBHGetDirAccess Get access control information for a shared HFS
volume
PBHGetLogInInfo Get user log in name and method for a shared HFS
volume
PBHGetVInfo Get information about a volume (HFS only)
PBHGetVol Get default volume/directory name and reference
(HFS)
PBHGetVolParms Get information about a shared HFS volume
PBHSetVol Select a default default volume/directory (HFS
only)
PBMountVol Mount a volume
PBOffline Take a volume off-line
PBSetVInfo Change volume name, backup date; lock/unlock it
PBSetVol
PBUnmountVol Flush volume, close its files, release its memory
PBHGetVolParms Get information about a shared HFS volume
PBHSetDirAccess Set access control information for a shared HFS
volume
PBGetVolMountInfo Places volume mounting information into a buffer
PBVolumeMount Mount a volume
PBGetVolMountInfoSize Determine space allocation for volume-mounting
record.
Resource fork operations
PBOpenRF Open the resource fork of a file
PBHOpenRF Open file resource fork (HFS only)
PBHOpenRFDeny Open a resource fork to users with permissions levels
Working directories
PBOpenWD Create/get reference number of working directory
PBCloseWD Release working directory control block
PBGetWDInfo Query information about a working directory
Catalog / Directory
PBDirCreate Create a new empty directory
PBCatMove Transfer file or directory to another directory
PBGetCatInfo Query file or directory date/time, attributes, etc.
PBSetCatInfo Change file or directory de scriptive information
PBCatSearch Search a volume's catalog
Miscellaneous
PBHMapID Get user or group name from ID data
PBHMapName Get user or group ID from a known name
PBMakeFSSpec Make an FSSpec record