int32_t mpiSequenceCommandIndex(MPISequence  sequence,
                             MPICommand   command)


Required Header: stdmpi.h


mpiSequenceCommandIndex returns the position of "command" on the list.

NOTE: The maximum number of sequence commands that can exist on a controller, from all sequence objects, at one time is defined by MFWCmdBuffSizein MFW.h.

sequence a handle to the Sequence object.
command a handle to a Command object.
Return Values
of a Command (command) in a Sequence (sequence)
if sequence is invalid
if the Command (command) was not found in the Sequence (sequence)