CreateCompatibleBitmap,其原型是HBITMAP CreateCompatibleBitmap( HDC hdc, int nWidth, int nHeight);。该函数用于创建与指定的设备环境相关的设备兼容的位图。由CreateCompatibleBitmap函数创建的位图的颜色格式与由参数hdc标识的设备的颜色格式匹配,该位图可以选入任意内存设备环境中,并且内存设备环境允许彩色和单色两种位图。详情
2015年11月18日 HBITMAP CreateCompatibleBitmap( HDC hdc, int nWidth, int nHeight ); Parameters hdc [in] Handle to a device context. nWidth [in] Specifies the bitma...