Carbon


AEReplaceDescData

Header: AEDataModel.h Carbon status: Under Evaluation

Copies the specified data into the specified descriptor record, replacing any previous data.

OSErr AEReplaceDescData (
    DescType typeCode, 
    const void *dataPtr, 
    Size dataSize, 
    AEDesc *theAEDesc
);
Parameter descriptions
typeCode

Specifies the descriptor type of the data pointed to by dataPtr. For a list of AppleScript’s predefined descriptor types, see “Descriptor Type Constants”.

dataPtr

A pointer to the data to store in the specified descriptor record.

dataSize

The size, in bytes, of the data pointed to by the dataSize parameter.

theAEDesc

A pointer to a descriptor record. On return, contains the copied data.

function result

A result code.

AVAILABILITY

Under evaluation for Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)