Table of Contents Index NMS Glossary Previous Page Next Page (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 The CT Access context handle on which the NCC line is opened using ctaOpenServices.

protcap A pointer to a NCC_PROT_CAP structure to hold returned protocol capability information.

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

size The 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.



Table of Contents Index NMS Glossary Previous Page Next Page (Page 12 of 23 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.