GetDIBits及SetDIBitsToDevice用法

来源:互联网 发布:java常见的类 编辑:程序博客网 时间:2024/05/22 08:24

函数原型

int GetDIBits(
  HDC
hdc,           // handle to DC
  HBITMAP hbmp,      // handle to bitmap
  UINT uStartScan,   // first scan line to set
  UINT cScanLines,   // number of scan lines to copy
  LPVOID lpvBits,    // array for bitmap bits
  LPBITMAPINFO lpbi, // bitmap data buffer
  UINT uUsage        // RGB or palette index
);      

参数及返回值功能略,详见msdn.

  

 

原创粉丝点击