Previous PageTable Of Contents../index.htmlIndexNext Page

ATFX_ECM( )

Description | Example | Errors | See Also

Name:

int ATFX_ECM (dev)

Inputs:

int dev

fax channel device handle

Returns:

whether fax data was transferred using ECM if successful

-1 if function called before completion of Phase B

Includes:

srllib.h

dxxxlib.h

faxlib.h

Category:

extended attribute

Mode:

synchronous

 

Top Of PageDescription

The ATFX_ECM( ) function returns information on use of ECM for fax data transfer. Valid values are:

DFS_NOECM

Error Correction Mode (ECM) not used to transfer fax data

DFS_ECM

Error Correction Mode (ECM) used to transfer fax data

This function has the following parameter:

 

Parameter

Description

dev

Specifies the channel device handle for the fax channel obtained when the channel was opened.

After completion of Phase B negotiation, you can call ATFX_ECM( ) to determine whether ECM was used in the fax data transfer. The value in ATFX_ECM( ) remains valid until a new fax session is initiated.

Top Of PageExample

Top Of PageErrors

If an invalid fax channel device handle is specified in dev, this function fails and returns AT_FAILURE.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Intel Corporation
All rights reserved
This page generated February, 2002