hBMP = LoadBitmap(g_hInst, MAKEINTRESOURCE(IDB_BITMAP1));
hMemDC = CreateCompatibleDC(NULL);
hOldBMP = (HBITMAP)SelectObject(hMemDC, hBMP);
BitBlt(hdc, 0, 0, 320, 45, hMemDC, 0, 0, SRCCOPY);
SelectObject(hMemDC, hOldBMP);
DeleteObject(hBMP);
DeleteDC(hMemDC);