null

解决方案 »

  1.   

    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.
      

  2.   

    用來獲取圖像的數據
    lpvoid可以指向你要存放CBitmap所代表圖像數據的一個buffer
      

  3.   

    where horizontal scan lines are multiples of 16 bits
    这句怎么解释保存到的数组是什么形式的?01码还是16位的什么东东
      

  4.   

    每行16 bits对齐。
    逐点保存。每个点可能占据1,4,8,16,24,32bits,与位图相关.
      

  5.   

    ndy_w(carpe diem)你能不能讲的详细一点
    你寥寥几句更把我说晕了:(