Writes user supplied image data to the image buffer for processing.
Visual Basic |
---|
Public Sub WriteCBDataPtr( _ ByVal lImageID As Long, _ ByRef pData As Byte, _ ByVal lDataLength As Long _ ) |
- lImageID
- The image buffer Id of the image buffer to process.
- pData
- The data to be written.
- lDataLength
- The size, in bytes, of that data pointed to by pData.
Calling this method with the ldataLength parameter set to 0 signals the load process to finish. Any call with data of any length will cause the waiting buffer to continue decoding.
Note: If this method is called with an IDataLength set to 0 and an additional CB_READ event is issued, additional calls to WriteCBData or WriteCBDataPtr should be made again with a data length of 0.