Previous PageTable Of Contents../index.htmlIndexNext Page


Appendix A - D/42 Quick Reference for Windows

D/42 Quick Reference for Windows

ATD4_BDTYPE( ) returns the D/42-xx board type

Name:

int ATD4_BDTYPE(devh)

Inputs:

int devh

  board descriptor

Returns:

board type
-1

  returns board type information if success (see below)

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

ATD4_CHTYPE( ) returns the D/42-xx channel type

Name:

int ATD4_CHTYPE(devh)

Inputs:

int devh

  channel descriptor

Returns:

channel type
-1

  channel type information if success (see below)

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_brdstatus( ) retrieves the current D/42-xx board status

Name:

int d42_brdstatus(devh, buffstatus, bufferp)

Inputs:

int devh

  board descriptor

 

char *buffstatus

  pointer to buffer containing board status information

 

char *bufferp

  reserved for future use

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_chnstatus( ) retrieves the current D/42-xx channel status

Name:

int d42_chnstatus(devh, statusp, bufferp)

Inputs:

int devh

  channel descriptor

 

char *statusp

  pointer to buffer containing channel status information

 

char *bufferp

  reserved for future use

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_closefeaturesession( ) closes an open feature session

Name:

int d42_closefeaturesession(devh)

Inputs:

int devh

  channel descriptor

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-NS

d42_display( ) retrieves the current LCD/LED display

Name:

int d42_display(devh, bufferp)

Inputs:

int devh

  channel descriptor

 

char *bufferp

  pointer to an application buffer. The buffer will contain display data for the selected channel.

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_flags( ) retrieves current D/42D-SX LCD Features Display data

Name:

int d42_flags(devh, bufferp)

Inputs:

int devh

  channel descriptor

 

char *bufferp

  pointer to an application buffer. The buffer will contain the Features Display data

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SX

d42_getparm( ) retrieves a D/42-xx channel or board parameter

Name:

int d42_getparm(devh, parmnum, parmvalp)

Inputs:

int devh

  board or channel descriptor

 

int parmnum

  parameter name

 

void *parmvalp

  pointer to parameter value

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_getver( ) retrieves the D/42-xx board firmware or library version

Name:

int d42_getver(devh, bufferp, flag)

Inputs:

int devh

  board descriptor

 

char *bufferp

  pointer to an application buffer containing the version information

 

int flag

  determines if firmware or library version is retrieved

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

all D/42 boards

d42_gtcallid( ) retrieves the called/calling number ID

Name:

int d42_gtcallid(devh, bufferp)

Inputs:

int devh

  channel descriptor

 

char *bufferp

  pointer to an application buffer containing called/calling number ID data

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_indicators( ) retrieves the status of LCD/LED indicators

Name:

int d42_indicators(devh, bufferp)

Inputs:

int devh

  channel descriptor

 

char *bufferp

  pointer to an application buffer containing the indicators data

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_lcdprompt( ) retrieves the current LCD prompt data of the D/42D-SX

Name:

int d42_lcdprompt(devh, bufferp)

Inputs:

int devh

  channel descriptor

 

char *bufferp

  pointer to an application buffer containing D/42-SX LCD prompt data

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SX

d42_openfeaturesession( ) opens a phone extension feature session

Name:

int d42_openfeaturesession(devh, bufferp, termtype, evtmask)

Inputs:

int devh

  channel descriptor

 

char *bufferp

  pointer to a buffer specifying a valid phone extension number in ASCII character string format

 

int *termtype

  pointer to memory location that receives the type of phone display

 

int evtmask

  specifies the events to enable for the feature session

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-NS

d42_setparm( ) sets a D/42-xx board or channel parameter

Name:

int d42_setparm(devh, parmnum, parmvalp)

Inputs:

int devh

  board or channel descriptor

 

int parmnum

  parameter name

 

void *parmvalp

  pointer to an application buffer containing the parameter value

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-SL, D/42-SX, D/42-NS, D/42-NE2

d42_writetodisplay( ) writes to the phone set display

Name:

int d42_writetodisplay(devh, bufferp)

Inputs:

int devh

  channel descriptor

 

char *bufferp

  pointer to a buffer containing ASCII character string data to be displayed

Returns:

ED42_NOERROR
-1

  if success

Includes:

D42LIB.H

Mode:

synchronous

Supports:

D/42-NS


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002