QNX Developer Support
Fill a buffer with pointers to the selected items
PtFileSelItem_t **PtFSSelectedItems( PtWidget_t *widget, PtFileSelItem_t **buffer );
This function fills a buffer with pointers to the currently selected items:
- If buffer is NULL, the function allocates a buffer using malloc(), and the buffer is NULL-terminated.
- If buffer is non-NULL, the function adds a NULL at the end only if there are no selected items in the widget.
A pointer to the buffer.