#include #include"CreateDIB32fromFile248.h" LRESULT CALLBACK WindowProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; static BITMAPINFO bmpInfo; static LPDWORD lpPixel; static int width,height; int x,y; switch(uMsg) { case WM_CREATE: CreateDIB32fromFile248("Mandrill.bmp",&lpPixel,&bmpInfo); width=bmpInfo.bmiHeader.biWidth; height=bmpInfo.bmiHeader.biHeight; //•`‰æ for(y=height/5;y