Share via


Gdi::DibSize (Windows CE 5.0)

Send Feedback

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

static unsigned int DibSize(unsigned intN,unsigned intW,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 Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

See Also

Gdi

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.