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


Home
QNX Community Resources
QNX Documentation Library
PtAppRemoveCallback

PtAppRemoveCallback

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

PtAppRemoveCallback()

Remove a callback from an application's callback list

Synopsis:

void PtAppRemoveCallback(unsigned long cb_type,
  int (*func)(void*,PtCallbackInfo_t*),
  void *data)

Arguments:

cb_type
The type of the callback you want to remove. For example, Pt_CB_APP_EXIT.
func
A pointer to the callback function you want to remove.
data
A pointer to the data associated with the callback.

Library:

ph

Description:

This function removes the first callback entry that matches func and data. It removes the entry from the cb_type callback list that belongs to the application. For a list of application callbacks, see PtAppSetResources().

For more information, see the Manipulating Resources in Application Code chapter of the Photon Programmer's Guide.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAppAddCallback(), PtAppGetResources(), PtAppGetResource(), PtAppRemoveHotkeyHandler(), PtAppRemoveFilterCallback(), PtAppRemoveEventHandler(), PtAppSetResource(), PtAppSetResources(), PtSetArg().