// ksmedia.h
typedef struct tagKS_BITMAPINFOHEADER {
DWORD biSize;
LONG biWidth;
LONG biHeight;
WORD biPlanes;
WORD biBitCount;
DWORD biCompression;
DWORD biSizeImage;
LONG biXPelsPerMeter;
LONG biYPelsPerMeter;
DWORD biClrUsed;
DWORD biClrImportant;
} KS_BITMAPINFOHEADER, *PKS_BITMAPINFOHEADER;
View the official Windows Driver Kit DDI referenceNo description available.
The KS_BITMAPINFOHEADER structure describes details about the video stream, such as image dimensions and pixel depth.
biSizeSpecifies the size of the structure in bytes.
biWidthSpecifies the width of the bitmap in pixels.
biHeightSpecifies the height of the bitmap in pixels.
biPlanesSpecifies the number of planes. This is always set to 1.
biBitCountSpecifies the color bits per pixel. For example, 1, 4, 8, or 24.
biCompressionSpecifies the compression scheme.
biSizeImageSpecifies the size of bitmap bits in bytes. (Only required if using compression.)
biXPelsPerMeterSpecifies the horizontal resolution in pixels per meter.
biYPelsPerMeterSpecifies the vertical resolution in pixels per meter.
biClrUsedSpecifies the number of colors used in the image.
biClrImportantSpecifies the number of important colors in the image.
This is the same structure as the user-mode GDI bitmap header (BITMAPINFOHEADER) structure.