2021
01-08
01-08
c++ 封装一个截图服务
首先是抓图服务:ICaptureHelper.h #pragmaonce#include<windows.h>#include<string>usingstd::string;classICaptureHelper{public:virtual~ICaptureHelper(){}virtualboolInit(conststring&windowName)=0;virtualboolInit(HWNDhwnd)=0;virtualvoidCleanup()=0;virtualboolRefreshWindow()=0;virtualboolChangeWindowHandle(conststring&windowName)=0;virtualboolChangeWin...
继续阅读 >