ulIndex (ULONG) - input
This is the number of the cell. It must be within the range 0 to xCellCount*yCellCount-1.