Description:

In response to OS2_PM_DRV_ENABLE: EnableDeviceContext, the driver reserves the memory it needs to support this instance of a DC and initializes the instance data.

#include <os2.h>

ULONG     ulSubfunction;  /*  05h. */
PULONG    pParam1;
PLONG     pParam2;        /*  Not used. */
LONG      rc;             /*  Return codes. */

rc = EnableDeviceContext(ulSubfunction, pParam1,
       pParam2);


[Back: OS2_PM_DRV_ENABLE: Subfunction 05h - EnableDeviceContext]
[Next: OS2_PM_DRV_ENABLE: Subfunction 05h - EnableDeviceContext Parameter - ulSubfunction]