Description

GreGetBitmapDimension renders height and width values for the bit map indicated by hbm.

This function is supported by the graphics engine.

#define INCL_GRE_DEVSUPPORT
#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=NGreGetBitmapDimension. */
BOOL       fSuccess;    /*  Return codes. */

fSuccess = GreGetBitmapDimension(hbm, pDimension,
             pInstance, lFunction);


[Back: GreGetBitmapDimension]
[Next: GreGetBitmapDimension Parameter - hbm]