BITMAPINFO *m_pBmpInfo;
char m_chBmpBuf[2048];
m_pBmpInfo= (BITMAPINFO *)m_chBmpBuf
BITMAPINFO *m_pBmpInfo;
char m_chBmpBuf[2048];
m_pBmpInfo= (BITMAPINFO *)m_chBmpBuf
1 BITMAPINFO m_pBmpInfo //创建结构体BITMAPINFO的指针
2 char m_chBmpBuf[2048]; //分配缓冲(内存2048字节)
3 m_pBmpInfo= (BITMAPINFO *)m_chBmpBuf //让指针m_pBmpInfo指向刚刚分配的内存,并强制转换char到BITMAPINFO *指针