Share via


Gdi::DibSize (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the size, in bytes, of the image. This value can be zero for BI_RGB bitmaps.

Syntax

static unsigned int DibSize(
  unsigned int N,
  unsigned int W,
  int H
);

Parameters

  • N
    [in] Unsigned integer that specifies the number of bits required to indicate the color of a pixel.
  • W
    [in] Unsigned integer that specifies the width, in pixels, of the bitmap.

    The width must be greater than zero.

  • H
    [in] Integer that specifies the height, in pixels, of the bitmap.

    The height must be greater than zero.

Return Value

The return value is the size, in bytes, of the image.

Requirements

Header gdi.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Gdi