CmtSetTSQAttribute

int CmtSetTSQAttribute (int queueHandle, int attributeID, ...);

Purpose

Sets the value of thread safe queue attributes.

Parameters

Input
Name Type Description
queueHandle integer The handle you obtained from CmtNewTSQ to identify the thread safe queue.
attributeID integer The ID of a thread safe queue attribute.
attributeValue Depends on the attribute The value to which you want to set the attribute.

Return Value

Name Type Description
CmtStatus integer The CmtStatus code that the function call returns. This function returns 0 to indicate success and negative values to indicate failure. Pass the CmtStatus code to CmtGetErrorMessage to get a description of the error code.