- DWORD nfxReceiveFax ( CTAHD ctahd,
NFX_QUEUE_HANDLE receive_queue_handle,
NFX_RECEIVE_PARMS *ptr_receive_parms)
- ctahd CTA context handle returned by ctaCreateContext.
- receive_queue_handle Handle for queue of documents to receive, returned by nfxCreateQueue.
- ptr_receive_parms Pointer to NFX_RECEIVE_PARMS structure (NULL to use default values), as follows:
typedef struct
{
DWORD size;
DWORD modemtype;/* NFX_MODEM_TYPE_V27 or NFX_MODEM_TYPE_V29. */
DWORD minrate; /* NFX_BIT_RATE_2400, NFX_BIT_RATE_4800, */
/* NFX_BIT_RATE_7200, NFX_BIT_RATE_9600 */
DWORD resolution; /* NFX_RESOLUTION_HIGH, */
/* NFX_RESOLUTION_LOW, or */
/* NFX_RESOLUTION_SUPER_HIGH */
DWORD encoding; /* NFX_ENCODE_1D, NFX_ENCODE_2D, */
/* NFX_ENCODE_MMR , or NFX_ENCODE_TIFF_S */
DWORD pollingenabled;/* NFX_YES or NFX_NO */
DWORD badlineaction; /* NFX_BAD_LINE_ACTION_NONE, */
/* NFX_BAD_LINE_ACTION_DROP, */
/* NFX_BAD_LINE_ACTION_REPT, or */
/* NFX_BAD_LINE_ACTION_TICK */
DWORD pagewidth; /* NFX_PAGE_WIDTH_A4, NFX_PAGE_WIDTH__B4, */
/* or NFX_PAGE_WIDTH_A3 */
DWORD OTFmode; /* NFX_OTF_NEVER, NFX_OTF_ALWAYS, or */
/* NFX_OTF_ONLY_IF_FAIL */
DWORD useECM; /* NFX_YES or NFX_NO */
DWORD lineerrors; /* % line errors before retrain negative */
INT32 level; /* tx level in tenths of dBm(-150 to -60) */
INT32 threshold; /* lowest lev. for receive, tenths of dBm */
DWORD NSFlength; /* Length of NSF field or 0 if none */
char SID[NFX_MAX_SID]; /* Subscriber ID string */
BYTE NSF[NFX_MAX_NSF]; /* default NSF for session */
} NFX_RECEIVE_PARMS;