pData

Pointer to a buffer to be updated with the pixel data. This buffer should be able to store

nBytes bytes.