Does buffer-to-buffer decompression of RLE-compressed 1-bit image data. Use this function to process multiple lines of image data.

Parameter

Description

pRun

Pointer to the input buffer containing 1-bit compressed image data.

pBuffer

Pointer to the output buffer, which is to be filled with 1-bit image data. The size of each row must be rounded up to a multiple of 4 bytes. Use integer math to calculate the required size of this buffer as follows: bytes required = (((nWidth + 31) &~31)/ 8) * nRows.