Previous PageTable Of Contents../index.htmlIndexNext Page

ATFX_RESLN( )

Description | Example | Errors

Name:

long ATFX_RESLN(dev)

Inputs:

int dev

fax channel device handle

Returns:

Vertical resolution of the transferred page if successful

AT_FAILURE if error

Includes:

srllib.h

dxxxlib.h

faxlib.h

Category:

extended attribute

Mode:

synchronous

 

Top Of PageDescription

The ATFX_RESLN( ) function returns the vertical resolution of the page that is sent or received. Valid values are:

DF_RESHI

High vertical resolution (fine) - 196 lines or pels per inch

DF_RESLO

Low vertical resolution (coarse) - 98 lines or pels per inch

 

Parameter

Description

dev

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

The data provided by this function is updated each time the fax transfer completes Phase D of the T.30 protocol.

To monitor the vertical resolution, you must enable Phase D events and issue ATFX_RESLN( ) when the TFX_PHASED event occurs. Note that since Phase D also occurs at the end of a send or receive when a Phase D event is not generated, you can also issue this function after a TFX_FAXSEND or TFX_FAXRECV event.

The final, vertical resolution value returned by ATFX_RESLN( ) at the end of a fax session remains available to the application until a new send or receive is initiated on that channel.

NOTE:
Between multiple Phase D completions during the same fax session, ATFX_RESLN( ) returns the vertical resolution information from the previously completed page.

Top Of PageExample

Top Of PageErrors

If one of the following conditions is present, this function fails and returns AT_FAILURE:


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