Writes user supplied image data to the image buffer for processing.
Visual Basic |
---|
Public Sub WriteCBData( _ ByVal lImageID As Long, _ ByRef pVData As Variant, _ ByVal lDataLength As Long _ ) |
- lImageID
- The image buffer Id of the image buffer to process.
- pVData
- The image data to be written.
- lDataLength
- The size, in bytes, of the data pointed to by pVData.
Calling this method with the IDataLength parameter set to 0 signals the load process to finish. Any call with data of any length causes 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.