PICFMCodeDesc Struct Reference

Structure for 'pwpc' PIPowerPCCodeProperty, and 'ppcb' PIPowerPCCarbonCodeProperty. More...

#include <PIGeneral.h>


Data Fields

int32 fContainerOffset
 Data fork offset to the code fragment start.
int32 fContainerLength
 Length of the code fragment.
unsigned char fEntryName [1]
 Name of entry point.

Detailed Description

Structure for 'pwpc' PIPowerPCCodeProperty, and 'ppcb' PIPowerPCCarbonCodeProperty.


Field Documentation

Data fork offset to the code fragment start.

This allows more than one code fragment based plug-in per file.

Length of the code fragment.

If the fragment extends to the end of the file or is the only fragment, the container length may be 0.

unsigned char PICFMCodeDesc::fEntryName[1]

Name of entry point.

Pascal string used to lookup the address of the function to call within the fragment. For example, "main", "ENTRYPOINT", "", etc. In order for the Code Fragment Manager to find an entry point by name, that name must be an exported symbol of the code fragment. If NULL, the default entry point is used. fEntryName allows a single code fragment to contain more than one plug-in.


The documentation for this struct was generated from the following file: