As of Friday October 16th, access to restricted content on this site now requires you to log in with your Genesys account. If you don't have an account, you can request one at these locations: Request MyPartner Portal Account or Request My Support Account.
Jump to: navigation, search

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)))

Comments

Important
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:

  • TMaskSetAll
  • TMaskClearAll
  • TMaskSet
  • TMaskClear

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

This page was last edited on March 17, 2016, at 18:08.

Feedback

Comment on this article:

blog comments powered by Disqus