## Presentation Device Driver Reference for OS/2

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

### GetDriverInfo - Syntax

Description:

This function returns a driver object handle for the engine object identified by hEngObject.

    #include <os2.h>

    ULONG    hEngObject;  /*  Handle of a DC or bit map. */

    ULONG    ulIndex;

    HDC      hdc;         /*  Device context handle, which identifies the calling DC. */

    LONG     rc;          /*  Return codes. */

    rc = GetDriverInfo(hEngObject, ulIndex, hdc);