Platform SDK: Fax Services |
To close a fax job gracefully after all fax operations have completed, the fax service calls the FaxDevEndJob function. At this time, the fax service provider should deallocate any job-specific instance data that was allocated by the FaxDevStartJob function during job initialization.
The fax service calls the FaxDevAbortOperation function asynchronously to request that a fax service provider terminate a faulted send or receive fax operation that is still active. Even if FaxDevAbortOperation terminates an operation, the fax service still calls the FaxDevEndJob function.
The fax service provider must export both the FaxDevEndJob and FaxDevAbortOperation functions.