ZeroMemory(&infobm.bmiHeader,sizeof(BITMAPINFOHEADER)); infobm.bmiHeader.biBitCount = 24; infobm.bmiHeader.biSize = sizeof(infobm); infobm.bmiHeader.biHeight = 0; infobm.bmiHeader.biWidth = 0; infobm.bmiHeader.biPlanes = 1; r = GetDIBits(dc,hbitmapHandle,0,infobm.bmiHeader.biHeight,0,&infobm,DIB_RGB_COLORS); if(r == 0){ AfxMessageBox("Error Processing bitmap1"); return 1; }
GetDIBits
cScanLines
zero
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)