cb (USHORT)
The length of the pointer buffer available for the pointer device driver to build a row-by-column image for each bit plane for the mode the display is currently running. This value is supplied by the application. If the value is too small, pointer draw places the true length of the image in this field and returns an error.
For all OS/2 system-supported modes, cb is specified in bytes and is equal to:
Mono and Text Modes
cb = (height in chars) * (width in chars) * 2 * 2 = 1 * 1 * 2 * 2 = 4Graphics Mode
cb = (height in pels) * (width in pels) * (bits per pel) * 2 / 8