BOOL GetBitmapDimensionEx(hBitmap, lpDimension) | |||||
HBITMAP hBitmap; | /* handle of bitmap | */ | |||
LPSIZE lpDimension; | /* address of structure receiving dimensions | */ |
The GetBitmapDimensionEx function retrieves the dimensions of a bitmap. (The retrieved dimensions must have been set previously by the SetBitmapDimensionEx function.)
hBitmap
Identifies the bitmap.
lpDimension
Points to a SIZE structure. The dimensions are returned here.
The return value is TRUE if the function was successful. Otherwise it is FALSE.
If no dimensions have been set, a default width and height of zero will be returned.
SetBitmapDimensionEx