Description
GreSetBitmapDimension associates height and width values for the bit map indicated by hbm. These values can be read back later by calling GreGetBitmapDimension.
This function is supported by the graphics engine.
#define INCL_GRE_DEVSUPPOR #include <os2.h> HBITMAP hbm; /* Bit-map handle. */ PSIZEL pDimension; /* Pointer to width and height values in 0.1mm units. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreSetBitmapDimension. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreSetBitmapDimension(hbm, pDimension, pInstance, lFunction);