STRPTR str = hw_GetCatalogString(APTR handle, int idx, STRPTR def, struct hwTagList *tags);
idx
from the catalog specified
by handle
. If handle
is NULL
or if the catalog doesn't have a string at
the specified index, def
will be returned. Thus, it is guaranteed that hw_GetCatalogString()
never returns NULL
.
The handle you pass as the first parameter must have been allocated by
hw_OpenCatalog(). See hw_OpenCatalog for details.
Alternatively, it can also be NULL
.
NULL
handle
is NULL
or index doesn't existNULL