cwbDQ_CreateAttr

Purpose

Create a data queue attribute object. The handle returned by this API can be used to set the specific attributes you want for a data queue prior to using it as input for the cwbDQ_Create or cwbDQ_CreateEx APIs. It also may be used to examine specific attributes of a data queue after using it as input for the cwbDQ_GetQueueAttr API.

Syntax

 
cwbDQ_Attr CWB_ENTRY cwbDQ_CreateAttr(void);

Parameters

None

Return Codes

The following list shows common return values.

cwbDQ_Attr — A handle to a cwbDQ_Attr object.
Use this handle to obtain and set attributes. After creation, an attribute object will have the default values of:
  • Maximum Record Length - 1000
  • Order - FIFO
  • Authority - LIBCRTAUT
  • Force to Storage - FALSE
  • Sender ID - FALSE
  • Key Length - 0

Usage

None