Set the key and key length attributes of the data attributes. This is the key that is used for writing data to a keyed data queue. In addition to the search order, this key is used to read data from a keyed data queue. The default is to have no key with zero length; this is the correct value for a non-keyed (LIFO or FIFO) data queue.
unsigned int CWB_ENTRY cwbDQ_SetKey( cwbDQ_Data data, unsigned char *key, unsigned short keyLength);
The following list shows common return values.
None