MVIcip_UnregisterAssemblyObj
Syntax:
int
MVIcip_UnregisterAssemblyObj(
MVIHANDLE apiHandle,
MVIHANDLE objHandle );
Parameters:
apiHandle
handle returned by previous call to MVIcip_Open
objHandle
handle for object to be unregistered
Description:
This function is used by an application to unregister all instances of the
Assembly Object with the CIP API. Any current connections for the
object specified by objHandle will be terminated.
apiHandle must be a valid handle returned from MVIcip_Open.
objHandle must be a handle returned from
MVIcip_RegisterAssemblyObj.
Return Value:
MVI_SUCCESS
MVI_ERR_NOACCESS
MVI_ERR_BADPARAM
Example:
MVIHANDLE
apiHandle;
MVIHANDLE
objHandle;
// Unregister all instances of the object
MVIcip_UnregisterAssemblyObj(apiHandle, objHandle );
See Also:
MVIcip_RegisterAssemblyObj
object was unregistered successfully
apiHandle does not have access
objHandle is invalid
Publication 1756-RM004B-EN-P - October 2000
CIP Messaging API
4-9