cwbDQ_GetKeySize

Purpose

Get the attribute for the key size in bytes.

Syntax

 
unsigned int CWB_ENTRY cwbDQ_GetKeySize(
                             cwbDQ_Attr          queueAttributes,
                             unsigned short     *keySize);

Parameters

cwbDQ_Attr queueAttributes - input
Handle of the data queue attributes returned by a previous call to cwbDQ_CreateAttr.
unsigned short * keySize - output
Pointer to an unsigned short where the key size will 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