CmtUninstallTSQCallback

int CmtUninstallTSQCallback (int queueHandle, int 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 integer The handle you obtained from CmtNewTSQ to identify the thread safe queue.
callbackID integer The callbackID that you obtained from CmtInstallTSQCallback.

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.