C API
int G_SetHeader( PORTFAX Port, BOOL bHeader );
C++ API
virtual int Port->SetHeader( BOOL bHeader );
|
Class 1. |
Class 2. Class 2.0 |
Brooktrout
|
GammaLink
|
Dialogic
|
NMS
|
|
|
|
|
|
|
Description
Thic function sets whether the header will be sent on the specified GammaLink fax channel. When sending faxes through a GammaLink channel, the header should be set ONLY with this function and not with SetFaxHeader(). If SetFaxHeader() is used, it will override the header set by ‘G_SetHeader’.
Parameters
|
PORTFAX |
Port |
Pointer to a TCCommClassGamma class instance created by ConnectPortExt or ConnectChannel. |
|
BOOL |
bHeader |
TRUE if header must be sent, otherwise FALSE. The contents of the header can be set through the GFXHEADER keyword in the GammaLink configuration file. |
Return Value
FER_BAD_FAXPORT Port is NULL or it’s not a TCCommClassGamma class instance it points to.
0 on success.
Sample Code
None at present.