Publication 1756-RM004B-EN-P - October 2000
4-6 CIP Messaging API
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.
Return Value:
MVI_SUCCESS API was closed successfully
MVI_ERR_NOACCESS
apiHandle
does not have access
Example:
MVIHANDLE apiHandle;
MVIcip_Close (apiHandle);
See Also:
MVIcip_Open
IMPORTANT
Once the CIP API has been opened, this function
should always be called before exiting the
application.