Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistallitems.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistallitems.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistallitems.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistallitems.html on line 8

PtGenListAllItems()

Get pointers to all the items in a list

Synopsis:

PtGenListItem_t **PtGenListAllItems( 
                      PtWidget_t *widget,
                      PtGenListItem_t **buffer );

Description:

This function fills the given buffer with pointers to all the list items.

If buffer is NULL, the function allocates a buffer by calling malloc(), and the buffer is NULL-terminated (or zero-terminated). 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 or zero to the end.

Returns:

A pointer to a buffer containing pointers to all the items in the list, or NULL.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistallitems.html on line 93

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistallitems.html on line 93