帮忙找找问题,谢谢!
源代码:
#include
#include
#include
using namespace std;
int func9(){
HWND desktop;
HDC winddc;
RECT Rect;
desktop=GetDesktopWindow();
winddc=GetWindowDC(desktop);
GetWindowRect(desktop, &Rect);
StretchBlt(winddc,50,50,Rect.right-100,Rect.bottom-100,winddc,0,0,Rect.right,Rect.bottom,SRCCOPY);
ReleaseDC(desktop, winddc);
return 1;
}
int main(){
return 0;
}
BOOL StretchBlt(HDC hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, HDC hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, DWORD dwRop);
应该11个参数,你只有10个
抱歉,我需要更具体的问题信息才能回答您的问题。关于编译环境的问题,如果您需要编译C或C++代码,可以使用开源的GCC编译器,也可以使用商业产品如Visual Studio。对于StretchBlt函数的调用参数以及编译器提示的错误信息,需要更具体的问题场景和代码才能给出具体解决方案。请提供更多的信息,我将尽力为您提供帮助。