mpiEventMgrControlPrevious

Declaration
MPIControl  mpiEventMgrControlPrevious(MPIEventMgr eventMgr,
                                       MPIControl  control)
Required Header stdmpi.h
Description

EventMgrControlPrevious returns the previous element prior to "control" on the list. MPIHandleVOID is returned if "control" is the first element on the list, or if "control" is not in the list at all. This function can be used in conjuntion with mpiEventMgrControlLast() in order to iterate through the list backwards.

  eventMgr a handle to the EventMgr object.
  control a handle to a Control object.
     
Return Values
handle to the motion controller preceding control in the list of motion controllers associated with an EventMgr (eventMgr)
MPIHandleVOID if eventMgr is invalid
if control is the first motion controller
MPIMessageHANDLE_INVALID Either eventMgr or control is an invalid handle.
See Also mpiEventMgrControlNext