Carbon


CFragSystem7SegmentedLocator

Header: CodeFragments.h

Defines a segment location structure.

struct CFragSystem7SegmentedLocator {
    FSSpecPtr fileSpec; 
    OSType rsrcType; 
    SInt16 rsrcID; 
    UInt16 reservedA;
};
typedef CFragSystem7SegmentedLocator CFragHFSSegmentedLocator;

Field descriptions

fileSpec

A pointer to a file specification structure (a data structure of type FSSpec) for the resource 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.

rsrcType

The resource type of the resource containing the fragment.

rsrcID

The resource ID of the resource containing the fragment.

reservedA

For fragments located in the resource fork of a file on disk, the inSegs field of a fragment location structure contains a segment 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)