QTAtoms
![]() |
![]() ![]() |
QT_GetAtomData(containerRef; atomOffset; atomData):error | |||
![]() |
containerRef | Longint | Atom container reference |
![]() |
atomOffset | Longint | Atom offset |
![]() |
atomData | BLOB | Atom data |
![]() |
error | Longint | Error result |
Retrieves the data 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 should be retrieved. Only leaf atoms contain data; if you pass a non-leaf atom, an error is returned.
Parameter atomData receives the atom's data.
Related commands
QT_SetAtomData | Changes the data of a leaf atom |
QT_GetAtomDataSize | Retrieves the data size of a leaf atom |
QT_CopyAtom | Copies an atom and its children to a new atom container |