Cleans up the resources of the given CtAPI instance. Unlike ctClose, ctClientDestroy does not close the connection to the CtAPI server.
You need to call ctCloseEx with bDestroy equal to FALSE before calling ctClientDestroy.
Syntax
ctClientDestroy(hCTAPI)
hCTAPI
Type: Handle
Input/output: Input
Description: The handle to the CTAPI as returned from ctOpen().
Return Value
TRUE if successful, otherwise FALSE. Use GetLastError() to get extended error information.
Related Functions
ctCloseEx, ctClose, ctClientCreate, ctOpen, ctOpenEx
Example
See ctClientCreate for an example.