## Presentation Device Driver Reference for OS/2

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

### Subfunctions

Presentation drivers must support the following OS2_PM_DRV_ENABLE subfunctions:

01h FillLogicalDeviceBlock
02h FillPhysicalDeviceBlock
04h DisablePhysicalDeviceBlock
05h EnableDeviceContext
06h DisableDeviceContext
07h SaveDCState
08h RestoreDCState
09h ResetDCState
0Ah CompleteOpenDC
0Bh BeginCloseDC
0Ch InstallPMEngineDisplayHooks

Note: The OS2_PM_DRV_ENABLE function should return -1 (ERROR_MINUS) for Subfunction 03h, and numbers greater than 0Ch.