// File type should be 'BM'
if (bmfHeader.bfType != ((WORD) ('M' << 8) | 'B')) return ; BITMAPINFOHEADER bmiHeader; if (file.Read((LPSTR)&bmiHeader, sizeof(bmiHeader)) !="sizeof(bmiHeader))" return ; int bmWidth="bmiHeader.biWidth;" int bmHeight="bmiHeader.biHeight;"
// File type should be 'BM'
if (bmfHeader.bfType != ((WORD) ('M' << 8) | 'B'))
return ;
BITMAPINFOHEADER bmiHeader;
if (file.Read((LPSTR)&bmiHeader, sizeof(bmiHeader))