GXGetDIBInfo
Return information on a DIB.
GSErr GXGetDIBInfo (
BITMAPINFO* dibPtr,
Int32* pnColors,
RECT* pBiRect,
Int32* pRowBytes,
Int32* pHeadSize,
Int32* pBiSizeImage,
Int32* pBiFullSize
);
Parameters
- dibPtr
- Pointer to the device independent bitmap.
- pnColors
- Number of colors.
- pBiRect
- The enclosing rectangle.
- pRowBytes
- The number of bytes per image row.
- pHeadSize
- Size of the bitmap header.
- pBiSizeImage
- The size of the image in bytes.
- pBiFullSize
- Full size of the image (rowbytes x bitmap height).
Return Values
If the function succeeds, the return value is true. If the function fails (NULL or invalid dibPtr), the return value is false.
Remarks
This function exists only on Windows platform.
Requirements
- Version:
- GX 10 or later
- Header:
- Graphics2DWin.h
- Import Library:
- GXImp.lib
- Module:
- GX.dll [WIN]