QNX Developer Support
![]() |
![]() |
![]() |
![]() |
PtFSSelectedItems()
Fill a buffer with pointers to the selected items
Synopsis:
PtFileSelItem_t **PtFSSelectedItems(
PtWidget_t *widget,
PtFileSelItem_t **buffer );
Description:
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.
Returns:
A pointer to the buffer.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
