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/wid_build/api/answer_changes.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/wid_build/api/answer_changes.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/wid_build/api/answer_changes.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/wid_build/api/answer_changes.html on line 8

PhABResExportFull_t.answer_changes()

A function exported by PhAB to answer a call to a ResPluginAnyChangesF_t function

Synopsis:

void answer_changes  (
  PhABHandle_t phab,
  int answer,
  int n,
  void *pvalue )

Arguments:

phab
A handle, provided by PhAB as the phab argument when the plugin is created with ResPluginFrugalCreateF_t or ResPluginFullCreateF_t.
answer
Specifies whether the resource editor contains changes. Can be:
n
The new value. Its value depends on the datatype.
value
The new value. Its value depends on the datatype.

Description:

This function is exported from PhAB in the PhABResExportFull_t structure

This function is called from the full resource editor after the editor returns RESPLUGIN_WAIT to a call to the function defined by ResPluginAnyChangesF_t from PhAB. It should specify whether the editor contains any changes to its data. If there are changes, the plugin should use n and value to pass the new data back to PhAB.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhABResExportFull_t, ResPluginAnyChangesF_t, ResPluginFrugalCreateF_t, ResPluginFullCreateF_t.


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/wid_build/api/answer_changes.html on line 113

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/wid_build/api/answer_changes.html on line 113