Public Declare Function CreateCompatibleDC Lib "gdi32" (ByVal hdc As Long) As Long
Public Declare Function CreateDIBSection Lib "gdi32" (ByVal hdc As Long, pBitmapInfo As BITMAPINFO, ByVal un As Long, ByVal lplpVoid As Long, ByVal handle As Long, ByVal dw As Long) As Long这两个VB代码是什么意思,给我说清楚就可以了..

解决方案 »

  1.   

    2个API函数的声明。
    CreateCompatibleDC
    The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device. CreateDIBSection
    The CreateDIBSection function creates a device-independent bitmap (DIB) that applications can write to directly. The function gives you a pointer to the location of the bitmap's bit values. You can supply a handle to a file mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap.
      

  2.   

    谢谢两位..原来是声明了API,都给分..