Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ capture screen as pixel array

HWND desktop = GetDesktopWindow();
HDC desktopHdc = GetDC(desktop);
COLORREF color = GetPixel(desktopHdc, x, y);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capture #screen #pixel #array
ADD COMMENT
Topic
Name
5+7 =