CmtUninstallTSQCallback
int CmtUninstallTSQCallback (CmtTSQHandle queueHandle, CmtTSQCallbackID callbackID);
Purpose
Uninstalls a callback that you registered with CmtInstallTSQCallback.
You are not required to uninstall callbacks before discarding a thread safe queue.
Parameters
Input | ||
Name | Type | Description |
queueHandle | CmtTSQHandle | The handle you obtained from CmtNewTSQ to identify the thread safe queue. |
callbackID | CmtTSQCallbackID | The callbackID that you obtained from CmtInstallTSQCallback. |
Return Value
Name | Type | Description |
cmtStatus | int | 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. |
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 5.5 and later
Examples
Refer to the following examples that use the CmtUninstallTSQCallback function: