reactos/base/applications/mspaint/dib.h
2017-12-09 13:36:45 +01:00

23 lines
599 B
C

/*
* PROJECT: PAINT for ReactOS
* LICENSE: LGPL
* FILE: base/applications/mspaint/dib.h
* PURPOSE: Some DIB related functions
* PROGRAMMERS: Benedikt Freisen
*/
#pragma once
HBITMAP CreateDIBWithProperties(int width, int height);
int GetDIBWidth(HBITMAP hbm);
int GetDIBHeight(HBITMAP hbm);
void SaveDIBToFile(HBITMAP hBitmap, LPTSTR FileName, HDC hDC, LPSYSTEMTIME time, int *size, int hRes,
int vRes);
void LoadDIBFromFile(HBITMAP *hBitmap, LPCTSTR name, LPSYSTEMTIME time, int *size, int *hRes, int *vRes);
void ShowFileLoadError(LPCTSTR name);