nSize
Size of the buffer pointed to by pData. The size should be large enough to contain the data for the pixel. The minimum size can be calculated with the following formula:
(BitmapBits + 7) / 8.