Description:
OS2_PM_DRV_ENABLE: DisableDeviceContext is called when a device context is about to be deleted. In response, the presentation driver must release any memory and other resources that it has allocated for the DC.
#include <os2.h> ULONG ulSubfunction; /* 06H. */ PULONG pParam1; PLONG pParam2; /* Not used. */ LONG rc; /* Return codes. */ rc = DisableDeviceContext(ulSubfunction, pParam1, pParam2);