最后一个参数lpvBits中得到的数据是包含BMP结构头的吗?

解决方案 »

  1.   


    LONG GetBitmapBits(
      HBITMAP hbmp,      // handle to bitmap
      LONG cbBuffer,     // number of bytes to copy
      LPVOID lpvBits     // buffer to receive bits
    );
    Parameters
    hbmp 
    [in] Handle to the device-dependent bitmap. 
    cbBuffer 
    [in] Specifies the number of bytes to copy from the bitmap into the buffer. 
    lpvBits 
    [out] Pointer to a buffer to receive the bitmap bits. The bits are stored as an array of byte values. 你看了后,觉得是带呢还是不带呢?