有关HDC的!

有关HDC的求助!!
有关HDC的求助!!


memcpy(cbInfo.pBuffer,   pBuffer,   lBufferSize);     中已经获取   (pBuffer,   lBufferSize)
               
                                但利用StillCap中的下面语句进行绘图时却提示 "error   C2660:   “CWnd::GetDC”   :   函数不接受   1   个参数
"等等的错误,怎么解决???,                                                                                             在线等
                HWND   hwndStill   =   NULL;
                pOwner-> GetDlgItem(   IDC_STILL,   &hwndStill   );

                RECT   rc;
                ::GetWindowRect(   hwndStill,   &rc   );
                long   lStillWidth   =   rc.right   -   rc.left;
                long   lStillHeight   =   rc.bottom   -   rc.top;
               
                HDC   hdcStill   =   GetDC(   hwndStill   );
                PAINTSTRUCT   ps;
                BeginPaint(hwndStill,   &ps);

                SetStretchBltMode(hdcStill,   COLORONCOLOR);
                StretchDIBits(  
                                        hdcStill,   0,   0,  
                                        lStillWidth,   lStillHeight,  
                                        0,   0,   lWidth,   lHeight,  
                                        pBuffer,  
                                        (BITMAPINFO*)   pbih,  
                                        DIB_RGB_COLORS,  
                                        SRCCOPY   );

                EndPaint(hwndStill,   &ps);
                ReleaseDC(   hwndStill,   hdcStill   );


------解决方案--------------------
HDC hdcStill = GetDC( hwndStill );
改成