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.
Comments or questions about this documentation? Contact us for support!