## Presentation Device Driver Reference for OS/2

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

### GreGetScreenBits Parameter - flCmd

flCmd (ULONG) - input Option flags.

These flags specify the format (bits per pel, linear or planar) of the data to be put in the memory buffer. flCmd also indicates whether hrgn contains a region handle or a pointer to a RECTL. Valid options include the following:

GSB_OPT_4BPP 0000H

GSB_OPT_8BPP 0001H

GSB_OPT_16BPP 0002H

GSB_OPT_LINEAR 0000H

GSB_OPT_PLANAR 0008H

GSB_OPT_HRGN 0010H

These option flags are ORed together to create the flCmd field.