Previous PageTable Of Contents../index.htmlIndexNext Page

dx_GetRscStatus( )

Description | Cautions | Example | Errors | See Also

Name:

int dx_GetRscStatus(chdev,rsctype,status)

Inputs:

int chdev

  valid Dialogic channel device handle

 

int rsctype

  type of resource

 

int *status

  pointer to assignment status

Returns:

0 if success

 

-1 if failure

Includes:

srllib.h

 

dxxxlib.h

Category:

Resource Management

Top Of PageDescription

The dx_GetRscStatus( ) function returns assignment status of the shared resource for the specified channel.

The function parameters are defined as follows:

Parameter

Description

chdev

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

rsctype

specifies the type of shared resource:

RSC_FAX: Shared fax resource (DSP Fax)

status

points to the data that represents the assignment status of the resource:

RSC_ASSIGNED: A shared resource of the specified rsctype is assigned to the channel.

RSC_NOTASSIGNED: A shared resource of the specified rsctype is not assigned to the channel.

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

If this function returns -1 to indicate failure, use ATDV_LASTERR( ) and ATDV_ERRMSGP( ) to retrieve one of the following error reasons:

EDX_BADPARM

  • Invalid Parameter

EDX_SYSTEM

Top Of PageSee Also


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