#include<windows.h>

 

#ifndef BMP_IO

#define BMP_IO

 

typedef struct tagBMPINFO{

       LPDWORD lpPixel;

       BITMAPINFO biInfo;

       HDC hdcBMP;

       double dw,dh;

}BMPINFO,*LPBMPINFO;

 

#endif

 

BOOL BMPfile_to_DIBSection(HWND hWnd,LPCTSTR file_name);

BOOL PasteDIBSection(HWND hWnd);

void DeleteDIBSection(HWND hWnd);