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

Search Results for "BITMAPINFO" in [All]

Enums

.
Summary
The format of the bmiColors member of the BITMAPINFO structure.

gdi32

.

static extern IntPtr CreateDIBitmap(IntPtr hdc, [In] ref BITMAPINFOHEADER

.

   lpbmih, uint fdwInit, byte [] lpbInit, [In] ref BITMAPINFO lpbmi,

.

ByRef lpbmih As BITMAPINFOHEADER, _

.

ByRef lpbmi As BITMAPINFO, _

.

BITMAPINFOHEADER

.

BITMAPINFO

.

static extern IntPtr CreateDIBSection(IntPtr hdc, [In] ref BITMAPINFO pbmi,

.

    ByRef pbmi As BITMAPINFO, ByVal iUsage As System.UInt32, _

.

BITMAPINFO

.

The BITMAPINFO structure defines the dimensions and color information for a DIB, it contains the members

.

BITMAPINFOHEADER structure (contains information about the dimensions of color format) and bmiColors which contains one of the following:

.

See MSDN Documentation for BITMAPINFO concerning specific details concerning structure members.

.

/// <param name="lpvBits">A pointer to a buffer to receive the bitmap data. If this parameter is <see cref="IntPtr.Zero"/>, the function passes the dimensions and format of the bitmap to the <see cref="BITMAPINFO"/> structure pointed to by the <paramref name="lpbi"/> parameter.</param>

.

/// <param name="lpbi">A pointer to a <see cref="BITMAPINFO"/> structure that specifies the desired format for the DIB data.</param>

.

/// <param name="uUsage">The format of the bmiColors member of the <see cref="BITMAPINFO"/> structure. It must be one of the following values.</param>

.

/// If the lpvBits parameter is NULL and GetDIBits successfully fills the <see cref="BITMAPINFO"/> structure, the return value is nonzero.

.

static extern int GetDIBits([In] IntPtr hdc, [In] IntPtr hbmp, uint uStartScan, uint cScanLines, [Out] byte[] lpvBits, ref BITMAPINFO lpbi, DIB_Color_Mode uUsage);

.

BITMAPINFO

.

   byte [] lpvBits, [In] ref BITMAPINFO lpbmi, uint fuColorUse);

.

BITMAPINFO

.

   int nSrcHeight, byte [] lpBits, [In] ref BITMAPINFO lpBitsInfo, uint iUsage,

.

BITMAPINFO

avifil32

.

   ByRef bih As BITMAPINFOHEADER) As Integer

.

                         ByRef lpFormat As BITMAPINFOHEADER,

.

    Public Structure BITMAPINFOHEADER

.

VB BITMAPINFOHEADER Warning

.

    Public Shared Function AVIStreamReadFormat2(ByVal aviStream As IntPtr, ByVal lPos As Int32, ByRef lpFormat As BITMAPINFOHEADER, ByRef cbFormat As Int32) As Integer

.

                         ByRef lpFormat As BITMAPINFOHEADER,

.

    Public Structure BITMAPINFOHEADER

.

VB BITMAPINFOHEADER Warning

.

    Public Shared Function AVIStreamReadFormat2(ByVal aviStream As IntPtr, ByVal lPos As Int32, ByRef lpFormat As BITMAPINFOHEADER, ByRef cbFormat As Int32) As Integer

gdiplus

.

Declare Function GdipCreateBitmapFromGdiDib Lib "GdiPlus.dll" (ByRef GdiBitmapInfo As BITMAPINFO, ByVal GdiBitmapData As Long, ByRef bitmap As Long) As Status

Structures

11: BITMAP
.

public struct BITMAPINFOHEADER

.

Public Structure BITMAPINFOHEADER

.
Summary
Introduces a .bmp file, and is followed by a [BITMAPINFOHEADER] structure.
.

public struct BITMAPINFOHEADER

.

Public Structure BITMAPINFOHEADER

.
Summary
BITMAPINFOHEADER
.

The BITMAPINFOHEADER contains information about the color space and dimensions of a DIB.

.

public struct BITMAPINFOHEADER

.

Public Structure BITMAPINFOHEADER


 
Access PInvoke.net directly from VS: