FaxMan SDK Version 4.7
FaxInitSendStruct

void FaxInitSendStruct(PAPPINFO pApp, PSEND_FAX pFax);

 

Initializes a SEND_FAX structure with valid default values.

 

 

Parameter

Type/Description

pApp

PAPPINFO Returned from FaxRegisterApp

pFax

PSEND_FAX Pointer to a SEND_FAX structure to be initialized.

 

Return Value

This function returns nothing.

 

Comments

Before using a SEND_FAX structure with the FaxSchedule function, you should call FaxInitSendStruct to initialize all the values to the proper defaults. This saves you from having to write tedious code to do the same thing, plus it helps eliminate coding errors resulting from uninitialized structures. After calling FaxInitSendStruct, your application is only required to fill in the list of files to send and the destination fax number (although you would probably want to fill in several other structures, like subject, they are not required).

 

 


© 2013 Data Techniques, Inc. All Rights Reserved.

Send comments on this topic.