DWORD GetBitmapDimension(hbm) | ||||
HBITMAP hbm; | /* handle of bitmap, */ |
The GetBitmapDimension function returns the width and height of the specified bitmap. The height and width is assumed to have been set by the SetBitmapDimension function.
hbm
Identifies the bitmap.
The low-order word of the return value contains the bitmap width, in tenths of a millimeter, if the function is successful; the high-order word contains the height. If the bitmap width and height have not been set by using the SetBitmapDimension function, the return value is zero.