Previous PageTable Of Contents../index.htmlIndexNext Page

fx_close( )

Description | Cautions | Example | Errors | See Also

Name:

int fx_close(dev)

Inputs:

int dev

fax channel device handle

Returns:

0 if successful

-1 if error

Includes:

srllib.h

dxxxlib.h

faxlib.h

Category:

resource management

Mode:

synchronous

 

Top Of PageDescription

The fx_close( ) function closes a Dialogic fax channel device opened previously using fx_open( ). It releases the handle and breaks any link the calling process has with the fax device channel through this handle, regardless of whether the device is busy or idle.

NOTE:
fx_close( ) disables the generation of all fax events; it does not affect the hookstate or parameter settings for the voice channel device.

 

Parameter

Description

dev

Specifies the valid Dialogic fax device handle obtained when the channel device was opened.

Top Of PageCautions

Top Of PageExample

Top Of PageErrors

If this function returns -1 to indicate failure, a system error has occurred; use dx_fileerrno( ) to obtain the system error value. Refer to the dx_fileerrno( ) function in the Voice Software Reference - Programmer's Guide for a list of the possible system error values.

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