C语言结果截屏如何操作啊?
发布网友
发布时间:2022-06-18 08:33
我来回答
共4个回答
热心网友
时间:2023-11-29 19:47
按下printscreen ,打开画板,粘贴下就好了!
热心网友
时间:2023-11-29 19:48
alt+print Screen键可以截取当前活动窗口
print Screen可以截取整个屏幕
热心网友
时间:2023-11-29 19:48
typedef int (WINAPI ICEPUB_SAVESCREEN)(char *bmpFile);
ICEPUB_SAVESCREEN *icePub_saveScreen = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_saveScreen=(ICEPUB_SAVESCREEN *)GetProcAddress(hDLLDrv,"icePub_saveScreen");
}
if(icePub_saveScreen)
icePub_saveScreen("screen.bmp");
if(hDLLDrv)
FreeLibrary(hDLLDrv);
typedef int (WINAPI ICEPUB_COPYFOREGROUNFFORMTOCLIPBOARD)(char *strFormTitle);
ICEPUB_COPYFOREGROUNFFORMTOCLIPBOARD *icePub_copyForegroundFormToClipboard = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_copyForegroundFormToClipboard=(ICEPUB_COPYFOREGROUNFFORMTOCLIPBOARD *)GetProcAddress(hDLLDrv,"icePub_copyForegroundFormToClipboard");
}
if(icePub_copyForegroundFormToClipboard)
icePub_copyForegroundFormToClipboard();
if(hDLLDrv)
FreeLibrary(hDLLDrv);
参考资料:icePubDll.dll百度之
热心网友
时间:2023-11-29 19:49
题干不详,无法解答