ProSoft Technology MVI56E-LDM User Manual
Page 83

ControlLogix Platform ♦ "C" Programmable
CIP API Functions
Linux Application Development Module
Developer's Manual
ProSoft Technology, Inc.
Page 77 of 264
March 12, 2014
OCXcip_Close
Syntax
int OCXcip_Close(OCXHANDLE apihandle);
Parameters
apihandle
handle returned by previous call to OCXcip_Open
Description
This function is used by an application to release control of the CIP API.
apihandle must be a valid handle returned from
OCXcip_Open
.
IMPORTANT: Once the CIP API has been opened, this function should always
be called before exiting the application.
Return Value
OCX_SUCCESS
API was closed successfully
OCX_ERR_NOACCESS
apihandle does not have access
Example
OCXHANDLE apihandle;
OCXcip_Close (apihandle);
See Also
OCXcip_Open
After the CIP API has been opened, this function should always be called before
exiting the application.