GetPixel function gdi32

int GetPixel(
  1. int hdc,
  2. int x,
  3. int y
)

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);