DIBDATA (Windows Embedded CE 6.0)
1/6/2010
This structure maintains information about each GDI DIB.
Syntax
typedef struct tagDIBDATA {
LONG PaletteVersion;
DIBSECTION DibSection;
HBITMAP hBitmap;
HANDLE hMapping;
BYTE* pBase;
} DIBDATA;
Members
- PaletteVersion
Current palette version in use.
- DibSection
Details of DIB section allocated.
- hBitmap
Handle to bitmap for drawing.
- hMapping
Handle to shared memory block.
- pBase
Pointer to base memory address.
Remarks
When the allocator creates a sample, it allocates a DIBSECTION to the sample.
When a window receives a sample, it can call the Microsoft Win32® BitBlt function to pass the sample from one device context to another device context.
This is a mechanism for the image allocator, an image sample, and the draw class to pass bitmap information to each other.
Requirements
Header | dshow.h |
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |