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/lib_ref/pt/ptappremovecallback.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/lib_ref/pt/ptappremovecallback.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/lib_ref/pt/ptappremovecallback.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/lib_ref/pt/ptappremovecallback.html on line 8

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().


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/lib_ref/pt/ptappremovecallback.html on line 110

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/lib_ref/pt/ptappremovecallback.html on line 110