| Platform SDK: Fax Services |
The FAX_JOB_PARAM structure contains the information necessary for the fax server to send an individual fax transmission. The structure includes the recipient's fax number, sender and recipient data, an optional billing code, and job scheduling information.
The SizeOfStruct, RecipientNumber, and ScheduleAction members are required; other members are optional.
typedef struct _FAX_JOB_PARAM {
DWORD SizeOfStruct; //structure size, in bytes
LPCTSTR RecipientNumber; //pointer to recipient's fax number
LPCTSTR RecipientName; //pointer to recipient's name
LPCTSTR Tsid; //pointer to transmitting station identifier
LPCTSTR SenderName; //pointer to sender's name
LPCTSTR SenderCompany //pointer to sender's company
LPCTSTR SenderDept; //pointer to sender's department
LPCTSTR BillingCode; //pointer to billing code
DWORD ScheduleAction; //job scheduling action code
SYSTEMTIME ScheduleTime; //time to send fax
DWORD DeliveryReportType; //e-mail delivery report type
LPCTSTR DeliveryReportAddress;
//pointer to e-mail address
LPCTSTR DocumentName; //pointer to document name to display
HCALL CallHandle; //optional TAPI call handle
DWORD Reserved[3]; //must be zero
} FAX_JOB_PARAM, *PFAX_JOB_PARAM;
| Value | Meaning |
|---|---|
| JSA_NOW | Send the fax as soon as a device is available. |
| JSA_SPECIFIC_TIME | Send the fax at the time specified by the ScheduleTime member. |
| JSA_DISCOUNT_PERIOD | Send the fax during the discount rate period. Call the FaxGetConfiguration function to retrieve the discount period for the fax server. |
| Value | Meaning |
|---|---|
| DRT_NONE | Do not send a DR or an NDR to the sender of the fax transmission. |
| DRT_EMAIL | Send the DR or NDR in an e-mail message to the sender of the fax transmission. |
| DRT_INBOX | Send the DR or NDR in e-mail to the sender's local personal information store. |
A fax client application passes the FAX_JOB_PARAM structure in a call to the FaxSendDocument function to inform the fax server how and when to send the fax transmission. For more information, see Sending a Fax to One Recipient.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable with BackOffice Small Business Server.
Header: Declared in Winfax.h.
Unicode: Declared as Unicode and ANSI structures.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Structures, FaxSendDocument, SYSTEMTIME, FaxCompleteJobParams, FaxGetConfiguration, lineMakeCall