#pragma once #include "surface.h" INT FASTCALL DIB_GetDIBWidthBytes (INT width, INT depth); int APIENTRY DIB_GetDIBImageBytes (INT width, INT height, INT depth); INT FASTCALL DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse); INT APIENTRY BITMAP_GetObject(SURFACE * bmp, INT count, LPVOID buffer); HBITMAP FASTCALL IntCreateBitmap(IN SIZEL Size, IN LONG Width, IN ULONG Format, IN ULONG Flags, IN PVOID Bits); HBITMAP FASTCALL BITMAP_CopyBitmap (HBITMAP hBitmap); UINT FASTCALL BITMAP_GetRealBitsPixel(UINT nBitsPixel); INT FASTCALL BITMAP_GetWidthBytes (INT bmWidth, INT bpp); HBITMAP APIENTRY GreCreateBitmap( IN INT nWidth, IN INT nHeight, IN UINT cPlanes, IN UINT cBitsPixel, IN OPTIONAL PVOID pvBits); HBITMAP APIENTRY GreCreateBitmapEx( IN INT nWidth, IN INT nHeight, IN ULONG cjWidthBytes, IN ULONG iFormat, IN USHORT fjBitmap, IN ULONG cjBits, IN OPTIONAL PVOID pvBits);