PtAppRemoveFilterCallback()

Remove a callback from an application's filter callback list

Synopsis:

void PtAppRemoveFilterCallback(
        unsigned long event_mask,
        int (*func)(void *,PtCallbackInfo_t *),
        void *data);

Arguments:

event_mask
The event mask for the callback you want to remove.
func
A pointer to the event handler function you want to remove.
data
A pointer to data for the callback you want to remove.

Library:

ph

Description:

This function removes the first event handler that matches event_mask, func, and data from the application's Pt_CB_FILTER callback list.

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:

PtAppAddFilterCallback(), PtAppGetResources(), PtAppGetResource(), PtAppRemoveCallback(), PtAppRemoveEventHandler(), PtAppRemoveHotkeyHandler(), PtAppSetResource(), PtAppSetResources(), PtSetArg().

“Event handlers” in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide