GetBitmapDimension

Syntax

DWORD GetBitmapDimension(hBitmap)

This function returns the width and height of the bitmap specified by the hBitmap
parameter. The height and width is assumed to have been set previously by using the
SetBitmapDimension
function.

Parameter Type/Description  

hBitmap HBITMAP Identifies the bitmap.  

Return Value

The return value specifies the width and height of the bitmap, measured in tenths of millimeters. The height is in the high-order word, and the width is in the low-order word. If the bitmap width and height have not been set by using SetBitmapDimension, the return value is zero.