|Microsoft DirectX 9.0|
The DIBSIZE macro calculates the number of bytes required by a device-independent bitmap (DIB).
Specifies a BITMAPINFOHEADER structure.
Returns the size in bytes.
The size of a DIB is calculated as
stride * height, where stride is width * bits per pixel/8, rounded up to the nearest DWORD alignment; and height is the absolute value of biHeight.