1 /* 2 * PROJECT: PAINT for ReactOS 3 * LICENSE: LGPL 4 * FILE: base/applications/mspaint/dib.h 5 * PURPOSE: Some DIB related functions 6 * PROGRAMMERS: Benedikt Freisen 7 */ 8 9 HBITMAP CreateDIBWithProperties(int width, int height); 10 11 int GetDIBWidth(HBITMAP hbm); 12 13 int GetDIBHeight(HBITMAP hbm); 14 15 void SaveDIBToFile(HBITMAP hBitmap, LPTSTR FileName, HDC hDC, LPSYSTEMTIME time, int *size, int hRes, 16 int vRes); 17 18 void LoadDIBFromFile(HBITMAP *hBitmap, LPCTSTR name, LPSYSTEMTIME time, int *size, int *hRes, int *vRes); 19 20 void ShowFileLoadError(LPCTSTR name); 21