Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

BITMAPINFOHEADER (Structures)
 
.
Summary
BITMAPINFOHEADER

C# Definition:

[StructLayout(LayoutKind.Sequential)]
public struct BITMAPINFOHEADER
{
    public uint  biSize;
    public int   biWidth;
    public int   biHeight;
    public ushort   biPlanes;
    public ushort   biBitCount;
    public uint  biCompression;
    public uint  biSizeImage;
    public int   biXPelsPerMeter;
    public int   biYPelsPerMeter;
    public uint  biClrUsed;
    public uint  biClrImportant;
}

VB Definition:

StructLayout(LayoutKind.Explicit)> Public Structure BITMAPINFOHEADER
     <FieldOffset(0)>  Public biSize     As Int32
     <FieldOffset(4)>  Public biWidth     As Int32
     <FieldOffset(8)>  Public biHeight     As Int32
     <FieldOffset(12)> Public biPlanes     As Int16
     <FieldOffset(14)> Public biBitCount     As Int16
     <FieldOffset(16)> Public biCompression     As Int32
     <FieldOffset(20)> Public biSizeImage     As Int32
     <FieldOffset(24)> Public biXPelsperMeter As Int32
     <FieldOffset(28)> Public biYPelsPerMeter As Int32
     <FieldOffset(32)> Public biClrUsed       As Int32
     <FieldOffset(36)> Public biClrImportant  As Int32
End Structure

User-Defined Field Types:

None.

Notes:

None. (Thanks to Mike I for the VB.NET definition).

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions