Previous PageTable Of Contents../index.htmlIndexNext Page

ATFX_TERMMSK( )

Description | Example | Errors

Name:

long ATFX_TERMMSK(dev)

Inputs:

int dev

fax channel device handle

Returns:

bitmap of termination reasons if successful

AT_FAILURE if error

Includes:

srllib.h

dxxxlib.h

faxlib.h

Category:

extended attribute

Mode:

Synchronous

 

Top Of PageDescription

The ATFX_TERMMSK( ) function returns a bitmap of termination reasons.

Call this function after the successful completion of fx_rcvfax( ), fx_rcvfax2( ), or fx_sendfax( ) to determine the termination reason. Valid values are:

TM_FXTERM

Normal completion of fax send/receive

TM_POLLED

Poll request received from transmitter

TM_VOICEREQ

Voice request (operator intervention) issued/received

The termination reason is available until the next send or receive is issued on the channel.

 

Parameter

Description

dev

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

Top Of PageExample

lTermMask = ATFX_TERMMSK (dev);

Top Of PageErrors

This function fails and returns AT_FAILURE if an invalid fax channel device handle is specified in dev.


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