![]() |
LGetCell |
||||
Header: | Lists.h | Carbon status: | Supported | |
Copies a cells data.
void LGetCell ( void *dataPtr, SInt16 *dataLen, Cell theCell, ListHandle lHandle );
A pointer to the location to which to copy the cells data.
On input, a pointer to the maximum number of bytes to copy. On return, a pointer to the number of bytes actually copied.
The cell whose data is to be copied.
The list containing the cell specified by the parameter theCell.
If the cell data is longer than dataLen, only dataLen bytes are copied and the dataLen parameter is unchanged. If the cell data is shorter than dataLen, then the function sets dataLen to the length in bytes of the cells data.
This function is contained in a resource of resource type 'PACK'. Calling it could result in the loading of the package resource and the allocation of memory. Thus, your application should not call this function from within an interrupt, such as in a completion function or VBL task.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.