## Display Device Driver Reference for OS/2

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

### GreGetScreenBits

Description:

GreGetScreenBits queries a region of screen pixel data and saves it in the memory provided by the caller. The data is compressed, and can be converted into a format suitable for another supported display device. The process will stop when either of the following situations occurs:

The supplied memory area is full

The requested region has been returned

Parameters:

HDC hdc
HRGN hrgnApp
PBYTE pDest
PULONG pulLength
ULONG flCmd
PDC pdcArg
ULONG FunN
Refer to the chapter regarding mandatory and simulated graphics engine functions in the OS/2 Presentation Device Driver Reference for details on this function.