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
);
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 Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)