Publication 1756-RM004B-EN-P - October 2000
CIP Messaging API 4-9
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 object was unregistered successfully
MVI_ERR_NOACCESS
apiHandle
does not have access
MVI_ERR_BADPARAM
objHandle
is invalid
Example:
MVIHANDLE apiHandle;
MVIHANDLE objHandle;
// Unregister all instances of the object
MVIcip_UnregisterAssemblyObj(apiHandle, objHandle );
See Also:
MVIcip_RegisterAssemblyObj