## Presentation Device Driver Reference for OS/2

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

### GreOpenDC Parameter - ulType

ulType (ULONG) - input Type of DC being opened.

Type of device context:

OD_QUEUED The DC is for a hardcopy device for which output is to be queued by the spooler.

OD_DIRECT The DC is for a device for which output is not to be queued by the spooler.

OD_INFO This is similar to OD_DIRECT except that it is only used to retrieve information such as font metrics. Drawing can be done to a presentation space associated with such a DC but no output medium is updated.

OD_MEMORY The new DC is a memory DC used to contain a bit map. The hdc parameter identifies the device with which the bit map is to be compatible.