DirectxDraw加载位图
摘要:
1.通过HDC加载//载入位图HBITMAP hBitmap;hBitmap = (HBITMAP)LoadImage(NULL, "test.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);HDC hdcImage;HDC hdc;BITMAP bm;lpBackBuffer->Restore();hdcImage = CreateCompatibleDC(NULL);SelectObject(hdcImage, hBitmap);GetObject(hBitmap, sizeof(bm), &bm);lpBackBuf 阅读全文
posted @ 2012-08-07 14:59 -冷夜- 阅读(1734) 评论(0) 推荐(0)
浙公网安备 33010602011771号