FaxSendDocBroadCast

  • Thread starter Thread starter jibesh
  • Start date Start date
J

jibesh

Hi

how can i use FaxSendDocumentForBroadcast API to invoke Multiple Fax send

global method:
BOOL WINAPI FAX_RECIPIENT_CALLBACK(
HANDLE FaxHandle, //handle to the fax server
DWORD RecipientNumber, //index indicating current fax recipient
LPVOID Context, //pointer to context information
PFAX_JOB_PARAM JobParams, //pointer to job information structure
PFAX_COVERPAGE_INFO CoverpageInfo OPTIONAL
//pointer to local cover page structure
)
{
CSendFax *pSendFax = (CSendFax*)Context;

class CTemp..

BOOL bret =
FaxSendDocumentForBroadcast(m_hFax,m_szDocPath,dwJobID,FAX_RECIPIENT_CALLBAC
K,(LPVOID)this);

DWORD dwError = GetLastError(); // return 13 - Data is Invalid..

Any one knows what is going wrong here ?

any help

- Jibesh.V.P
 
Could it be that you forgot to call FaxCompleteJobParams to populate data
structures or that you did call it but the call has failed?
 
Back
Top