|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| None
|
|
|
BITMAPCOREHEADER
The BITMAPCOREHEADER structure contains information about the dimensions and color format of a
device-independent bitmap (DIB).
typedef struct tagBITMAPCOREHEADER { // bmch
DWORD bcSize;
WORD bcWidth;
WORD bcHeight;
WORD bcPlanes;
WORD bcBitCount;
} BITMAPCOREHEADER;
Members
bcSize
Specifies the number of bytes required by the structure.
bcWidth
Specifies the width of the bitmap, in pixels.
bcHeight
Specifies the height of the bitmap, in pixels.
bcPlanes
Specifies the number of planes for the target device. This value must be 1.
bcBitCount
Specifies the number of bits per pixel. This value must be 1, 4, 8, or 24.
Remarks
The BITMAPCOREINFO structure combines the BITMAPCOREHEADER structure and a color table to provide a complete definition of the
dimensions and colors of a DIB. For more information about specifying a
device-independent bitmap, see BITMAPCOREINFO structure.
An application should use the information stored in the bcSize member to locate the color table in a BITMAPCOREINFO structure, using a method such as the following:
pColor = ((LPBYTE) pBitmapCoreInfo +
(WORD) (pBitmapCoreInfo -> bcSize))
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|