![]() |
CFragSystem7DiskFlatLocator |
Header: CodeFragments.h |
Defines a disk location structure.
struct CFragSystem7DiskFlatLocator { FSSpecPtr fileSpec; UInt32 offset; UInt32 length; }; typedef CFragSystem7DiskFlatLocator CFragHFSDiskFlatLocator;
A pointer to a file specification structure (a data structure of type FSSpec) for the data fork of a file. This pointer is valid only while the initialization function is executing. If you need to access the information in the file specification structure at any later time, you must make a copy of that structure.
The offset, in bytes, from the beginning of the files data fork to the beginning of the fragment.
The length, in bytes, of the fragment. If this field contains the value 0, the fragment extends to the end-of-file.
For fragments located in the data fork of a file on disk, the onDisk field of a fragment location structure contains a disk location structure, which specifies the location of the fragment.
The fields of a fragment initialization block are aligned in memory in accordance with 680x0 alignment conventions.
© 2000 Apple Computer, Inc. (Last Updated 4/14/2000)