Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

ctClientDestroy

  • Last UpdatedJul 13, 2023
  • 1 minute read

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.

ctCloseEx, ctClose, ctClientCreate, ctOpen, ctOpenEx

Example

See ctClientCreate for an example.

In This Topic
TitleResults for “How to create a CRG?”Also Available in