Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/imgldr/winbmp.h
2024-09-24 14:54:57 +02:00

48 lines
862 B
C

#ifndef __WINBMP_H
#define __WINBMP_H
typedef struct tagWINRGBQUAD
{
BYTE rgbBlue;
BYTE rgbGreen;
BYTE rgbRed;
BYTE rgbReserved;
} WINRGBQUAD;
typedef struct tagWINBITMAPFILEHEADER
{
WORD bfType;
LONG bfSize;
WORD bfReserved1;
WORD bfReserved2;
LONG bfOffBits;
} WINBITMAPFILEHEADER;
typedef struct tagWINBITMAPINFOHEADER
{
LONG biSize;
LONG biWidth;
LONG biHeight;
WORD biPlanes;
WORD biBitCount;
LONG biCompression;
LONG biSizeImage;
LONG biXPelsPerMeter;
LONG biYPelsPerMeter;
LONG biClrUsed;
LONG biClrImportant;
} WINBITMAPINFOHEADER;
typedef struct tagWINBITMAPINFO
{
WINBITMAPINFOHEADER bmiHeader;
WINRGBQUAD bmiColors[1];
} WINBITMAPINFO;
#define BI_RGB 0L
#define BI_RLE8 1L
#define BI_RLE4 2L
#define BI_BITFIELDS 3L
#endif