Description
GreGetBitmapParameters returns, in the buffer addressed by pInfoHd, header information for the specified bit map.
This function is supported by the graphics engine.
#define INCL_GRE_DEVSUPPORT #include <os2.h> HBITMAP hbm; /* Bit-map handle. */ PBITMAPINFOHEADER pInfoHd; /* Pointer. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreGetBitmapParameters. */ BOOL fSuccess; /* Return codes. */ fSuccess = GreGetBitmapParameters(hbm, pInfoHd, pInstance, lFunction);