## Presentation Device Driver Reference for OS/2

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

### OS2_PM_DRV_ENABLE: Subfunction 0Ch - InstallPMEngineDisplayHooks Parameter - pParam2

pParam2 (PLONG) - input A pointer to the dispatch tables of the display driver and graphics engine:

pEngHooks Pointer to the 32-bit entry points of the graphics engine.

pDrvHooks Pointer to the entry points of the current display driver, which can consist of a table of 16-bit or 32-bit entry points:

    typedef struct _CompType {

        USHORT fEngine32Bit;

        USHORT fDriver32Bit;

    } COMPTYPE;

    typedef struct _P1 {

        ULONG    version;

        COMPTYPE comptype;

    } P1;

    typedef struct _P2 {

        PLONG pEngTable;

        PLONG pDrvTable;

    } P2;