Function Reference


_WinAPI_SetPixel

Sets the pixel at the specified coordinates to the specified color

#include <WinAPIGdi.au3>
_WinAPI_SetPixel ( $hDC, $iX, $iY, $iRGB )

Parameters

$hDC Handle to the device context.
$iX The x-coordinate, in logical units, of the point to be set.
$iY The y-coordinate, in logical units, of the point to be set.
$iRGB The color to be used to paint the point.

Return Value

Success: True
Failure: False

See Also

Search SetPixelV in MSDN Library.