PtFSAllItems()

Fill a buffer with pointers to all items

Synopsis:

PtFileSelItem_t **PtFSAllItems(
                      PtWidget_t *widget,
                      PtFileSelItem_t **buffer );

Description:

This function fills a buffer with pointers to all items in the widget.

If buffer is NULL, the function allocates a buffer using malloc(), and terminates it with a NULL entry. It's your application's responsibility to free the buffer when it's no longer needed.

If buffer isn't NULL, the function doesn't add a NULL to the end of it.

Returns:

A pointer to the buffer.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No