Sets the pixel at the specified coordinates to the closest approximation of the specified color.
Specifies the x-coordinate, in logical units, of the point to be set.
Specifies the y-coordinate, in logical units, of the point to be set.
Specifies the color to be used to paint the point.
Nonzero if the function is successful; otherwise 0.
The point must be in both the clipping region and the visible part of the device surface. Not all devices support the member function. For more information, see the RC_BITBLT capability in the CDC::GetDeviceCaps member function. SetPixelV is faster than SetPixel because it does not need to return the color value of the point actually painted.