Previous PageTable Of Contents../index.htmlIndexNext Page

ATDX_BDNAMEP( )

Description | Cautions | Example | Errors

Name:

char * ATDX_BDNAMEP(chdev)

Inputs:

int chdev

  valid Dialogic channel device handle

Returns:

pointer to Board device name string if successful
pointer to ASCIIZ string "Unknown device" if error

Includes:

srllib.h
dxxxlib.h

Category:

Extended Attribute

Top Of PageDescription

The ATDX_BDNAMEP( ) function returns a pointer to the board device name on which the channel accessed by chdev resides.

As illustrated in the example, this may be used to open the board device that corresponds to a particular channel device prior to setting board parameters.

The function parameter is defined as follows:

Parameter

Description

chdev

specifies the valid channel device handle obtained when the channel was opened using dx_open( ).

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

This function will fail and return a pointer to "Unknown device" if an invalid channel device handle is specified in chdev.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

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