FaxMan SDK Version 4.7
FaxLogFind

WORD FaxLogFind(PAPPINFO pApp, PSEND_FAX *ppFax, DWORD dwID)

 

Retrieves information for a given fax event.

 

Parameter

Type/Description

pApp

PAPPINFO Returned from FaxRegisterApp

ppFax

PSEND_FAX * Pointer to a PSEND_FAX to receive fax information.

dwID

DWORD ID of the fax to get information for.

  

Return Value

Return values are as follows:

FAX_ERR_NOSERVER (-2) if the fax server could not be loaded to process the request.

FAX_OK (0) if the fax event information was successfully retrieved.

FAX_ERR_INVFAXID (-14) if the fax event was not located in the logs.

 

Comments

The PSEND_FAX pointer returned to the calling application must be freed via a call to GlobalFreePtr()macro defined in "windowsx.h". Failure to free this pointer will result in a memory leak for your application.

 

 


© 2013 Data Techniques, Inc. All Rights Reserved.

Send comments on this topic.