## Presentation Device Driver Reference for OS/2

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

### GreDeleteBitmap

Select an item:

    Syntax
    Parameters
    Returns
    Glossary

Description

GreDeleteBitmap deletes the bit map identified by hbm. If the bit map is currently selected into a DC, GreDeleteBitmap returns an error.

This function is supported by the graphics engine.

    #define INCL_GRE_DEVSUPPORT

    #include <os2.h>

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

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

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

    BOOL       fSuccess;   /*  Return codes. */

    fSuccess = GreDeleteBitmap(hbm, pInstance,

                 lFunction);