## Presentation Device Driver Reference for OS/2

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

### OS2_PM_DRV_ENABLE: Subfunction 01h - FillLogicalDeviceBlock - Syntax

Description:

OS2_PM_DRV_ENABLE: FillLogicalDeviceBlock is called on the first occasion that a specific application or process opens a device context that uses the called presentation driver.

    #include <os2.h>

    ULONG     ulSubfunction;   /*  01h. */

    PULONG    pParam1;

    PLONG     pParam2;

    PLONG     pDispatchTable;

    LONG      rc;              /*  Return codes. */

    rc = FillLogicalDeviceBlock(ulSubfunction,

           pParam1, pParam2, pDispatchTable);