## Presentation Device Driver Reference for OS/2

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

### GreSetBitmapID - Syntax

Description

GreSetBitmapID sets the local identifier (lcid) for a bit map.

This function is supported by the graphics engine.

    #define INCL_GRE_LCID

    #include <os2.h>

    HDC        hdc;        /*  Device context handle. */

    HBITMAP    hbm;        /*  Bit-map handle. */

    LONG       lLcid;      /*  Local identifier to be associated with the bit map. */

    PVOID      pInstance;  /*  Pointer to instance data. */

    ULONG      lFunction;  /*  High-order WORD=flags; low-order WORD=NGreSetBitmapID. */

    BOOL       rc;         /*  Return codes. */

    rc = GreSetBitmapID(hdc, hbm, lLcid, pInstance,

           lFunction);