Carbon


CFragSystem7InitBlock

Header: CodeFragments.h

struct CFragSystem7InitBlock {
    CFragContextID contextID; 
    CFragClosureID closureID; 
    CFragConnectionID connectionID; 
    CFragSystem7Locator fragLocator; 
    StringPtr libName; 
    UInt32 reservedA;
};
typedef CFragSystem7InitBlock CFragInitBlock;

Field descriptions

contextID

A context ID.

closureID

A closure ID.

connectionID

A connection ID.

fragLocator

A fragment location structure, CFragSystem7Locator that specifies the location of the fragment.

libName

A pointer to the name of the fragment being initialized. The name is a Pascal string (a length byte followed by the name itself).

reservedA

Reserved for use by Apple Computer.

The Code Fragment Manager passes to your fragment’s initialization function a pointer to a fragment initialization block, which contains information about the fragment. A fragment initialization block is defined by the InitBlock data type.

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)