FaxSendDocBroadCast

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
 
A

Alex Feinman [MVP]

Could it be that you forgot to call FaxCompleteJobParams to populate data
structures or that you did call it but the call has failed?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top