Description:
OS2_PM_DRV_ENABLE: QueryDeviceSurface provides the needed information to the graphics engine for handling the new Device Driver Interface (DDI) architecture.
#include <os2.h> ULONG ulSubfunction; /* 0Eh. */ PLONG pParam1; /* Pointer to the DEVICESURFACE data structure. */ LONG pParam2; /* Long integer returned from FillPhysicalDeviceBlock. */ LONG rc; /* Return codes. */ rc = QueryDeviceSurface(ulSubfunction, pParam1, pParam2);