19,469
社区成员
发帖
与我相关
我的任务
分享
OpenClipboard(HWND hWnd) ;
EmptyClipboard() ;
SetClipboardData (CF_BITMAP, HBITMAP hBitmap ) ;
CloseClipboard () ;
LONG GetBitmapBits( HBITMAP hbmp, // handle to bitmap
LONG cbBuffer, // number of bytes to copy
LPVOID lpvBits // buffer to receive bits);
+
HBITMAP CreateBitmap( int nWidth, // bitmap width, in pixels
int nHeight, // bitmap height, in pixels
UINT cPlanes, // number of color planes
UINT cBitsPerPel, // number of bits to identify color
CONST VOID *lpvBits // color data array);