4-6
CIP Messaging API
Publication 1756-RM004B-EN-P - October 2000
MVIcip_Close
Syntax:
int
MVIcip_Close(MVIHANDLE apiHandle);
Parameters:
apiHandle
handle returned by previous call to MVIcip_Open
Description:
This function is used by an application to release control of the CIP API.
apiHandle must be a valid handle returned from MVIcip_Open.
Once the CIP API has been opened, this function
IMPORTANT
should always be called before exiting the
application.
Return Value:
MVI_SUCCESS
MVI_ERR_NOACCESS
Example:
MVIHANDLE
apiHandle;
MVIcip_Close (apiHandle);
See Also:
MVIcip_Open
API was closed successfully
apiHandle does not have access