## Presentation Device Driver Reference for OS/2

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

### OS2_PM_DRV_ENABLE: Subfunction 04h - DisablePhysicalDeviceBlock - Syntax

Description:

OS2_PM_DRV_ENABLE: DisablePhysicalDeviceBlock is called by the system to disable the specified device and to free any associated memory.

    #include <os2.h>

    ULONG    ulSubfunction;  /*  04H. */

    ULONG    ulParam1;

    PLONG    pParam2;        /*  Not used. */

    LONG     rc;             /*  Return codes. */

    rc = DisablePhysicalDeviceBlock(ulSubfunction,

           ulParam1, pParam2);