Purpose
Set the maximum record length for the data
queue.
Syntax
unsigned int CWB_ENTRY cwbDQ_SetMaxRecLen(
cwbDQ_Attr queueAttributes,
unsigned long maxRecordLength);
Parameters
- cwbDQ_Attr queueAttributes - input
- Handle of the data queue attributes returned by a previous call to cwbDQ_CreateAttr.
- unsigned long maxLength - input
- Maximum length for a data queue record. This value must be between 1 and
31744.
Return Codes
The following list shows common return
values.
- CWB_OK
- Successful completion.
- CWBDQ_INVALID_ATTRIBUTE_HANDLE
- Invalid attributes handle.
- CWBDQ_INVALID_QUEUE_LENGTH
- Invalid queue record length.