iIndex

The index into the array. The first element of the array is 0, and the last element is

BitsPerPixelCount - 1.