Voice Platform SDK 8.5 API Reference

TEventMask

Syntax



#define T_MASK_LENGTH 64;
typedef unsigned char TMask[T_MASK_LENGTH];
#define TMaskSetAll(M) memset((M), 0xff, T_MASK_LENGTH)
#define TMaskClearAll(M) memset((M), 0, T_MASK_LENGTH)
#define TMaskSet(E, M) ((M)[(E) / 8] |= (1 << ((E) % 8)))
#define TMaskClear(E, M) ((M)[(E)/8] &= ~(1 << ((E) % 8)))
#define TMaskIsSet(E, M) ((M)[(E) / 8] & (1 << ((E) % 8)))


Top of Page

Comments


NOTE: The associated macros defined in the syntax for this type are used to set and clear the user-defined input mask.

For setting and clearing the user-defined input mask, use:

For checking the server capabilities mask returned by TQueryServer(), use TMaskIsSet().


Top of Page


Send comments on this topic.
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.