📜  c++ 将屏幕捕获为像素数组 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:53.288000             🧑  作者: Mango

代码示例1
HWND desktop = GetDesktopWindow();
HDC desktopHdc = GetDC(desktop);
COLORREF color = GetPixel(desktopHdc, x, y);