long mpiFilterGainIndexGet(MPIFilter filter, long *gainIndex)
FilterGainIndexGet gets the current gain index of a Filter (filter) and writes it to the location pointed to by gainIndex.