This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
TheBITMAPCOREHEADER structure contains information about the dimensions and color format of a DIB.
typedef struct tagBITMAPCOREHEADER { DWORD bcSize; WORD bcWidth; WORD bcHeight; WORD bcPlanes; WORD bcBitCount;} BITMAPCOREHEADER, *LPBITMAPCOREHEADER, *PBITMAPCOREHEADER;bcSize
The number of bytes required by the structure.
bcWidth
The width of the bitmap, in pixels.
bcHeight
The height of the bitmap, in pixels.
bcPlanes
The number of planes for the target device. This value must be 1.
bcBitCount
The number of bits-per-pixel. This value must be 1, 4, 8, or 24.
TheBITMAPCOREINFO structure combines theBITMAPCOREHEADER structure and a color table to provide a complete definition of the dimensions and colors of a DIB. For more information about specifying a DIB, seeBITMAPCOREINFO.
An application should use the information stored in thebcSize member to locate the color table in aBITMAPCOREINFO structure, using a method such as the following:
pColor = ((LPBYTE) pBitmapCoreInfo + (WORD) (pBitmapCoreInfo -> bcSize))| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | wingdi.h (include Windows.h) |
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?