pBuffer

Pointer to the buffer to hold the image data that this method gets. You must allocate the buffer before calling this method, and the buffer must be large enough to hold the image data.