## Presentation Device Driver Reference for OS/2

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

### OS2_PM_DRV_ENABLE: Subfunction 0Ch - InstallPMEngineDisplayHooks - Syntax

Description:

OS2_PM_DRV_ENABLE: InstallPMEngineDisplayHooks provides the addresses of the graphics engine and display driver dispatch tables so that the dynamic link libraries for display hooks can intercept the dispatching of these functions for monitoring or other purposes.

    #include <os2.h>

    ULONG    ulSubfunction;  /*  0Ch. */

    PLONG    pParam1;

    PLONG    pParam2;

    LONG     rc;             /*  Return codes. */

    rc = InstallPMEngineDisplayHooks(ulSubfunction,

           pParam1, pParam2);