Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtRemoveCallbacks()

Remove several callback entries from a callback list

Synopsis:

void PtRemoveCallbacks( 
        PtWidget_t *widget,
        unsigned long callback_type,
        PtCallback_t const *callback_defs,
        unsigned int num_callbacks );

Library:

ph

Description:

This function removes the first callback entries that exactly match an entry in the callback_defs array. It removes these entries from the callback_type callback list that belongs to widget. The num_callbacks argument specifies the length of the array.


Note: Some types of callback resources have special routines that you should use instead of this one:
Pt_CB_FILTER
PtRemoveFilterCallback() or PtRemoveFilterCallbacks()
Pt_CB_HOTKEY
PtRemoveHotkeyHandler()
Pt_CB_RAW
PtRemoveEventHandler() or PtRemoveEventHandlers()

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAddCallback(), PtAddCallbacks(), PtRemoveCallback(), PtRemoveEventHandler(), PtRemoveEventHandlers(), PtRemoveFilterCallback(), PtRemoveFilterCallbacks(), PtRemoveHotkeyHandler()

PtCallback_t in the Photon Widget Reference

"Callbacks" in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide