_GetData() function
called one time at the beginning to retrieve overhead information and, after this, several times to retrieve the actual image data
Arguments
p
application defined void pointer
ppData
pointer to the location the requested data resides in
NumBytesReq
number of requested bytes.
Off
defines the offset to use for reading the source data
Return value
The number of bytes which were actually read (int)