This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Fill a buffer with pointers to all items
PtFileSelItem_t **PtFSAllItems( PtWidget_t *widget, PtFileSelItem_t **buffer );
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.
A pointer to the buffer.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |