QTAtoms QT Atom commands |

### QT_GetAtomDataSize

QT_GetAtomDataSize(containerRef; atomOffset; atomDataSize):error
| containerRef | Longint | Atom container reference
| atomOffset | Longint | Atom offset
| atomDataSize | Longint | Atom data size
| error | Longint | Error result

Retrieves the data size of a leaf atom.

Parameter containerRef specifies the atom container. It must have been previously obtained with a call to QT_NewAtomContainer.

Parameter atomOffset specifies the atom whose data size should be retrieved. Only leaf atoms contain data; if you pass a non-leaf atom, an error is returned.

Parameter atomDataSize receives the atom's data size.

Related commands

QT_GetAtomData | Retrieves the data of a leaf atom

QTAtoms © Escape
Generated by QDoc 2.8 on Tue, Jan 27, 2009 20:30:01