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

BITMAP (Structures)
 
.
Summary
defines the type, width, height, color format, and bit values of a bitmap.

C# Definition:

    [StructLayout(LayoutKind.Sequential)]
    public struct BITMAP
    {
        public int bmType;
        public int bmWidth;
        public int bmHeight;
        public int bmWidthBytes;
        public ushort bmPlanes;
        public ushort bmBitsPixel;
        public IntPtr bmBits;
    }

VB Definition:

Public Structure BITMAP
     Public bmType As Int32
     Public bmWidth As Int32
     Public bmHeight As Int32
     Public bmWidthBytes As Int32
     Public bmPlanes As Int16
     Public bmBitsPixel As Int16
     Public bmBits as IntPtr
End Structure

Notes:

None

Documentation

http://msdn.microsoft.com/en-us/library/dd183376

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