FaxMan SDK Version 4.7
FaxLogDelete

WORD FaxLogDelete(PAPPINFO pApp, DWORD dwID, WORD wLog)

 

Deletes a fax event and all associated FMF files from the requested log and disk.

 

 

Parameter

Type/Description

pApp

PAPPINFO Returned from FaxRegisterApp

dwID

DWORD Unique id for the fax to delete.

wLog

WORD Log to remove the fax from. This must be specified.



 

Return Value

 FAX_ERR_NOSERVER (-2) if the server is not found or could not be loaded

 FAX_OK (0) if the item is deleted successfully

 FAX_ERR_INVFAXID (-14) if the item was not found in the log.

 

Comments

This function will fail if you do not specify the correct log to remove the fax from. When a log entry is deleted the associated fax files which have .FMF extensions are deleted from the disk. This means that if you want to have persistent fax files, you should give them an extension other than FMF.

 

 


© 2013 Data Techniques, Inc. All Rights Reserved.

Send comments on this topic.