itemlength = length * list->Maximam → itemlength = length * list->ValueSize
でいけるかな?