Writes a complete keyword/descriptor pair to an
- macOS 10.0+
- Core Services
AEStreamcontaining the stream data.
AEKeywordassociated with the new descriptor being added to the stream. See
A type code for the new
AEDescbeing added to the stream. See
A pointer to the block of memory containing the descriptor data. This routine copies the memory block immediately, so you do not need to retain it for the benefit of this routine.
The number of bytes pointed to by the
A result code. See Result Codes.
Use this routine to add a descriptor to the currently open
AERecord inside a stream. You cannot use this routine to write parameters to any other types of descriptors, even if they are nested inside of an
AERecord. This routine can only be called in between calls to
This method is analogous to the Apple Event Manager routine
AEPut, except it is for use with streams.