CBitmap::GetBitmapBits DWORD GetBitmapBits( DWORD dwCount, LPVOID lpBits ) const;Return ValueThe actual number of bytes in the bitmap, or 0 if there is an error.ParametersdwCountSpecifies the number of bytes to be copied.lpBitsPoints to the buffer that is to receive the bitmap. The bitmap is an array of bytes. The bitmap byte array conforms to a structure where horizontal scan lines are multiples of 16 bits.ResCopies the bit pattern of the CBitmap object into the buffer that is pointed to by lpBits. The dwCount parameter specifies the number of bytes to be copied to the buffer. Use CGdiObject::GetObject to determine the correct dwCount value for the given bitmap.
用來獲取圖像的數據 lpvoid可以指向你要存放CBitmap所代表圖像數據的一個buffer
where horizontal scan lines are multiples of 16 bits 这句怎么解释保存到的数组是什么形式的?01码还是16位的什么东东
DWORD GetBitmapBits( DWORD dwCount, LPVOID lpBits ) const;Return ValueThe actual number of bytes in the bitmap, or 0 if there is an error.ParametersdwCountSpecifies the number of bytes to be copied.lpBitsPoints to the buffer that is to receive the bitmap. The bitmap is an array of bytes. The bitmap byte array conforms to a structure where horizontal scan lines are multiples of 16 bits.ResCopies the bit pattern of the CBitmap object into the buffer that is pointed to by lpBits. The dwCount parameter specifies the number of bytes to be copied to the buffer. Use CGdiObject::GetObject to determine the correct dwCount value for the given bitmap.
lpvoid可以指向你要存放CBitmap所代表圖像數據的一個buffer
这句怎么解释保存到的数组是什么形式的?01码还是16位的什么东东
逐点保存。每个点可能占据1,4,8,16,24,32bits,与位图相关.
你寥寥几句更把我说晕了:(