2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2002-01-15 00:43:18 +00:00
|
|
|
|
2005-12-28 20:31:44 +00:00
|
|
|
#include "dc.h"
|
2002-01-15 00:43:18 +00:00
|
|
|
|
2003-08-11 21:10:49 +00:00
|
|
|
INT FASTCALL
|
|
|
|
DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
|
2008-11-29 22:48:58 +00:00
|
|
|
HBITMAP APIENTRY
|
2010-07-29 16:12:43 +00:00
|
|
|
DIB_CreateDIBSection (PDC dc, CONST BITMAPINFO *bmi, UINT usage, LPVOID *bits, HANDLE section, DWORD offset, DWORD ovr_pitch);
|
|
|
|
int FASTCALL
|
|
|
|
DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
|
|
|
|
LONG *height, WORD *planes, WORD *bpp, DWORD *compr, DWORD *size );
|
2008-11-29 22:48:58 +00:00
|
|
|
INT APIENTRY
|
2003-08-11 21:10:49 +00:00
|
|
|
DIB_GetDIBImageBytes (INT width, INT height, INT depth);
|
2010-08-01 12:17:35 +00:00
|
|
|
HPALETTE FASTCALL
|
|
|
|
DIB_MapPaletteColors(PPALETTE ppal, CONST BITMAPINFO* lpbmi);
|
2003-08-11 21:10:49 +00:00
|
|
|
|
|
|
|
HPALETTE FASTCALL
|
2010-08-01 12:17:35 +00:00
|
|
|
BuildDIBPalette (CONST BITMAPINFO *bmi);
|
2010-07-29 18:01:14 +00:00
|
|
|
|
|
|
|
BITMAPINFO* FASTCALL DIB_ConvertBitmapInfo(CONST BITMAPINFO* bmi, DWORD Usage);
|
|
|
|
VOID FASTCALL DIB_FreeConvertedBitmapInfo(BITMAPINFO* converted, BITMAPINFO* orig);
|