Description
GreQueryBitmapHandle gets the bit-map handle for the specified local identifier (lcid). When lLcid does not reference a bit map, an error is raised by the graphics engine.
This function is supported by the graphics engine.
#define INCL_GRE_LCID #include <os2.h> HDC hdc; /* Device context handle. */ LONG lLcid; /* Local identifier for which the bit-map handle is required. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreQueryBitmapHandle. */ HBITMAP rc; /* Return codes. */ rc = GreQueryBitmapHandle(hdc, lLcid, pInstance, lFunction);