Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtDestroyCallbackList

PtDestroyCallbackList

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtDestroyCallbackList()

Free the specified callbacks

Synopsis:

int PtDestroyCallbackList( 
        PtCallbackList_t **cbp );

Arguments:

cbp
A pointer to the callback list to be freed.

Description:

This function frees the entire callback list pointed to by cbp. The cbp argument is set to NULL when PtDestroyCallbackList() is successful.


Note: The widget library automatically frees all allocated resources including callback lists when a widget is destroyed.

Returns:

0
Successful completion.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtDestroyHotkeyCallbacks(), PtDestroyRawCallbacks()