In CreateDIBSection, the offset into the file mapping does not have to be a multiple of the memory allocation granularity.