thank you!
Yes, there is. Call ATFX_PGXFER() upon TFX_FAXRECV or TFX_FAXSEND event, this API returns a total number of transferred pages. You can also call it at any time during fax session to see the progress. The nubber of mages remains valid on a device handle until next call to fc_send/fx_rcv
Thanks for your reply. I think I didn't make it clear enough:
When sending a tiff fax, how to know to progress? I'd like to display the transmission status in the format like:
<current page>/<total page> , like: 1/5 -> 2/5 ... -> 5/5
Thanks again.
Sammy,
For outbound fax sessions it's better to enable TFX_PHASED event. It is enabled by ORing the last argument of the fx_sendfax with DF_PHASED flag. Each time when the page is transmitted this event is sent to the application. The exeption is the last page, upon completion of which TFX_FAXSEND is returned instead.
You can use your own counter, incrementing it on each TFX_PHASED event, or call ATFX_PGXFER( ) when the event is sent to the application.
Please find the API description and usage examples in the attached document.