摘要:
#include <Windows.h>#include <OCIdl.h>#include <OleCtl.h>BOOL DrawPicture(char* pszFilePath,HWND hWnd,int nDrawWidth,int nDrawHeight){ HDC hDC = GetDC(hWnd); if(hDC == NULL) { return GetLastError(); } IPicture* pPic = NULL; IStream* pStream = NULL; int ret = 0; HAN... 阅读全文