GetPixel function gdi32
The GetPixel function retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.
COLORREF GetPixel(
HDC hdc,
int x,
int y);
Implementation
int GetPixel(int hdc, int x, int y) => _GetPixel(hdc, x, y);