cwbDQ_GetMaxRecLen

Purpose

Get the maximum record length for the data queue.

Syntax

 
unsigned int CWB_ENTRY cwbDQ_GetMaxRecLen(
                             cwbDQ_Attr          queueAttributes,
                             unsigned long      *maxRecordLength);

Parameters

cwbDQ_Attr queueAttributes - input
Handle of the data queue attributes returned by a call to cwbDQ_CreateAttr.
unsigned long * maxRecordLength - output
Pointer to an unsigned long where the maximum record length will be written.

Return Codes

The following list shows common return values.

CWB_OK
Successful completion.
CWB_INVALID_POINTER
Bad or null pointer.
CWBDQ_INVALID_ATTRIBUTE_HANDLE
Invalid attributes handle.

Usage

None