Microsoft Windows CE 3.0  

GetBitmapFormatSize

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Finds the size (in bytes) needed to build a VIDEOINFOHEADERstructure and related data.

LONG GetBitmapFormatSize(
const BITMAPINFOHEADER *
pHeader
);

Parameters

pHeader
Pointer to a Win32 BITMAPINFOHEADERstructure.

Return Values

Returns the number of bytes for the VIDEOINFOHEADERstructure described by this BITMAPINFOHEADER, including prefix information, the BITMAPINFOHEADERfield, and any other color information on the end.