(Page 12 of 23 in this chapter) Version


nccQueryCapability

Description

Query capability of signaling protocol.

Prototype

DWORD nccQueryCapability ( CTAHD linehd,
NCC_PROT_CAP *protcap,
unsigned size )

linehd CT Access context handle on which NCC line is opened using ctaOpenServices.

protcap Pointer to NCC_PROT_CAP structure to hold returned protocol capability information.

typedef struct
{
 DWORD size ;
 DWORD capabilitymask;
} NCC_PROT_CAP;

size Size of NCC_PROT_CAP structure.

Return Values

Events

Details

This function queries the capabilities of the protocol on a line handle. Use this function to determine if the current protocol supports a given feature. nccQueryCapability returns an NCC_PROT_CAP structure containing capability information for the protocol.

The NCC_PROT_CAP structure contains the following fields:
Field

Description

size

Number of bytes written at the address pointed to by protcap.

capabilitymask

A bit mask of features implemented by this protocol. See Section 2.5 for a list of capabilities.



(Page 12 of 23 in this chapter) Version


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.