Are you asking how to do it? If so, this is what you need to do:
// I would change this line
// cDC->CreateEnhanced(GetDC(),NULL,NULL,NULL);
// to this:
cDC->CreateEnhanced(hdc,NULL,NULL,NULL);
// this will help avoid a memory leak with DCs.
//call draw routine here that makes GDI calls int cDC
...
// my bitmap is here!!
CDC dcMem;
CBitmap *bmpOld;
// This creates a memory DC to use the bitmap with.
dcMem.CreateCompatibleDC(hdc);
bmpOld = dcMem.SelectObject(&cBitmap/*your CBitmap object*/);
BITMAP bm;
cBitmap.GetBitmap(&bm);
// Paint your bitmap at (x,y), for the same with and height as the bitmap.
cDC.BitBlt(x, y, bm.bmWidth, bm.bmHeight, dcMem, 0,0, SRCCOPY);
// Select the old bitmap into the memDC.
dcMem.SelectObject(bmpOld);
//close meta CMetaFileDC and get its handle
...
GoodLuck
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!