int SetDIBitsToDevice(
__in HDC hdc,
__in int XDest,
__in int YDest,
__in DWORD dwWidth,
__in DWORD dwHeight,
__in int XSrc,
__in int YSrc,
__in UINT uStartScan,
__in UINT cScanLines,
__in const VOID *lpvBits,
__in const BITMAPINFO *lpbmi,
__in UINT fuColorUse
);
不使用CImage和GDI+
------解决思路----------------------
https://msdn.microsoft.com/en-us/library/dd145131%28VS.85%29.aspx
------解决思路----------------------
https://msdn.microsoft.com/en-us/library/dd145131.aspx
------解决思路----------------------
那就想办法把png转成bmp呗
------解决思路----------------------
来自:Windows图形编程 Page 376