Distributed Tuning Interface Reference : PvStop()
 
PvStop()
Closes a DTI session and frees the related resources.
Header File: connect.h (See also Header Files)
Function First Available In Library: w3dbav75.dll (Windows), libpsqldti.so (Linux), libpsqldti.dylib (macOS) (See also Link Libraries)
Syntax
BTI_SINT PvStop(BTI_LONG_PTR preserved);
Arguments
 
In
preserved
Reserved for future use.
Return Values
 
P_OK
The operation was successful.
P_E_FAIL
A general failure occurred.
Remarks
This function frees resources of DTI and closes the DTI session. This function should be called before your application exits.
Example
BTI_LONG status = 0;
 
status = PvStop(0);
See Also
PvStart()