## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreEscape DEVESC_QUERYVIOCELLSIZES Parameter - pcOutCount

pcOutCount (PLONG) - input Pointer to the number of bytes pointed to by pOutData.

On return, the handling routine updates the value indicated by this pointer to the number of bytes actually returned. This value must be an even multiple of sizeof(LONG). When the value passed is less than sizeof(LONG), the handling routine must change it to 0. Nothing is loaded at the address indicated by pOutData.

When the value passed equals sizeof(LONG), the handling routine must return the number of supported VIO character-cell sizes. The value indicated by pcOutCount is unchanged. The contents of the address indicated by pOutData are updated so that maxcount is the number of VIO cell sizes provided by the device. When the value passed is greater than sizeof(LONG), the handling routine must update the buffer addressed by pOutData so that:

"maxcount" is the number of VIO cell sizes provided by the device.
"count" is the number of VIOFONTCELLSIZE structures returned. This can be 0 when OutCount is 2*sizeof(LONG). For example:

    count==((pcOutCount-2*sizeof(LONG))/2*sizeof(LONG))