faxdefn.h File Reference

Enum TFaxClass

Defines the fax modem classes supported by the fax client.

The fax class refers to the command set used to control the modem.

EnumeratorValueDescription
EClassAuto0

Automatic detection of the fax modem class.

EClass11

Fax class 1

EClass22

Fax class 2

EClass2point04

Fax class 2.0

EClass1point08

Fax class 1.0

EClass2point116

Fax class 2.1

Enum TFaxPhase

Fax session phases.

Defines what is done if a fax session fails is dependent on the current phase.

EnumeratorValueDescription
ENotYetStarted

The session has not yet begun

ECallEstablishment'A'

Phase 'A'. Establishing connection.

ESessionNegotiation'B'

Phase 'B'. Negotiating fax protocols.

EDataTransfer'C'

Phase 'C'. Transferring information

EPostPageStatus'D'

Phase 'D'. Confirming successful send/receive.

EDisconnection'E'

Phase 'E'. Disconnecting.

Enum TFaxResolution

Defines the supported fax resolutions.

It is also used by the fax store classes.

EnumeratorValueDescription
EFaxNormal

Normal fax resolution 3.85 lines/mm

EFaxFine

Fine fax resolution 7.7 lines/mm

Enum TFaxCompression

Defines the types of compression supported by the fax client.

This enumeration is also used by the fax store classes.

EnumeratorValueDescription
EModifiedHuffman0

One-dimensional T.4 encoding. Also known as MH.

EModifiedRead1

Two-dimensional T.4 encoding. Also known as MR.

EUncompressedModifiedRead2

Two-dimensional T.4 encoding including uncompressed mode.

EModifiedModifiedRead3

T.6 encoding. Not supported by the fax engine. Also known as MMR.

KFaxPixelsPerScanLine ( 1728 )

const TIntKFaxPixelsPerScanLine(1728)

Scan Line Constants

KFaxBytesPerScanLine ( 216 )

const TIntKFaxBytesPerScanLine(216)

KFaxCmPerScanLine ( 215 )

const TIntKFaxCmPerScanLine(215)

KFaxScanLinesPer10Cm ( 385 )

const TIntKFaxScanLinesPer10Cm(385)

KFaxFineScanLinesPer10Cm ( 770 )

const TIntKFaxFineScanLinesPer10Cm(770)

KFaxT4MaxDesLength ( 896 )

const TIntKFaxT4MaxDesLength(896)

KFaxLinesPerBand ( 64 )

const TIntKFaxLinesPerBand(64)

Typedef TFaxBufSenderId

typedef TBuf< 20 >TFaxBufSenderId

Defines a buffer to hold a fax sender ID.

Typedef TRawScanLine

typedef TBuf8< KFaxBytesPerScanLine >TRawScanLine

Defines a raw scan line.

Each scan line is comprised of KFaxBytesPerScanLine (216) bytes.